Perf Test: test data for 10k Orderables, 1k full supply, 5k non-full supply

Description

We need to have a set of performance data which allows us to inspect how Reference Data and other services react when a Program has 10,000 products where 1,000 full-supply and 5,000 non-full supply products are available for a facility type.

AC:

  • Reference Data's performance data has a set of generated data that has 10k orderables, 1k full supply and 5k non-full supply products available for the Essential Medicines program at District Hospital facilities. It'll be generated in Mockaroo and stored in git under src/main/resources/db/performance-data

  • schemas are built in in Mockaroo and stored in git under src/main/resources/db/performance-data/schemas/

    • orderables

    • orderables assigned to Essential Medicines

    • FTAP for those Orderables & Essential Medicines & District Hospital

  • datasets exist in Mockaroo and in git under src/main/resources/db/performance-data/demo-datasets:

    • facility operators (id and code) from demo data

  • performance tests exist for:

    • /api/facilities/ID/approvedProducts (2 tests, one for full supply and one for non-full for a dist hospital and Ess Meds)

    • /api/facilityTypeApprovedProducts (one page of 10 for Ess Meds and Dist Hosp)

Assignee

Paweł Albecki

Reporter

Josh Zamor

Labels

Story Points

5

Time tracking

16h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major
Configure