Skip to content

Commit

Permalink
Merge pull request #132 from OpenLMIS/hotfix/CQI-21
Browse files Browse the repository at this point in the history
HOTFIX/CQI-21: default parametrs set to int values for perf tests
  • Loading branch information
lruzicki authored Dec 4, 2024
2 parents 2ac46c3 + 0b4e1f1 commit 75f8dba
Show file tree
Hide file tree
Showing 12 changed files with 113 additions and 113 deletions.
4 changes: 2 additions & 2 deletions performance/tests/approvedProducts.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: approved-products

scenarios:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: approved-products

scenarios:
Expand Down
48 changes: 24 additions & 24 deletions performance/tests/facilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,63 +2,63 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facility-create
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-minimal-all
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-minimal-one-page
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-audit-log
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facility-update
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-one
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-by-boundary-all
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-by-boundary-one-page
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-delete-one
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-get-all
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-search-all
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facilities-search-one-page

scenarios:
Expand Down
6 changes: 3 additions & 3 deletions performance/tests/facilityTypeApprovedProducts.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: ftaps-get-first-10

scenarios:
ftaps-get-first-10:
requests:
- include-scenario: get-user-token
- url: ${__P(base-uri)}/api/facilityTypeApprovedProducts?page=1&size=10&facilityType=dist_hosp&program=PRG002
method: GET
method: GET
label: GetAFacilityTypeApprovedProductsPageOfTen
headers:
Authorization: Bearer ${access_token}
Expand Down
4 changes: 2 additions & 2 deletions performance/tests/facilityUpdateAsync.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: facility-update-async

scenarios:
Expand Down
12 changes: 6 additions & 6 deletions performance/tests/idealStockAmounts.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: download-ideal-stock-amounts-csv
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-ideal-stock-amounts
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: upload-ideal-stock-amounts-csv

scenarios:
Expand Down
20 changes: 10 additions & 10 deletions performance/tests/orderables.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: orderables-get-first-10
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: orderables-get-10-by-id
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: orderables-get-by-program-code-name
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: orderables-get-10000-by-program
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: orderables-search-10000-by-version-identities

scenarios:
Expand Down
24 changes: 12 additions & 12 deletions performance/tests/processingPeriods.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-processing-period
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-all-processing-periods
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: processing-periods-search
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-page-of-ten-processing-periods
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-processing-period-duration
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-processing-period-audit-log

scenarios:
Expand Down
16 changes: 8 additions & 8 deletions performance/tests/programs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: programs-get-one
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: programs-search
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: create-program
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: delete-program

scenarios:
Expand Down
8 changes: 4 additions & 4 deletions performance/tests/supervisoryNodes.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-all-supervisory-nodes
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-page-of-ten-supervisory-nodes

scenarios:
Expand Down
28 changes: 14 additions & 14 deletions performance/tests/supplyLines.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
execution:
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-supply-line
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-all-supply-lines-expand
# - concurrency: ${__P(scenario-concurrency,10)}
# iterations: ${__P(scenario-iterations,10)}
# ramp-up: ${__P(scenario-ramp-up,1m)}
# hold-for: ${__P(scenario-duration,10m)}
# ramp-up: ${__P(scenario-ramp-up,60)}
# hold-for: ${__P(scenario-duration,600)}
# scenario: get-all-supply-lines
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-page-of-ten-supply-lines
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-page-of-ten-supply-lines-expand
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-supply-lines-by-supervisory-node-id
- concurrency: ${__P(scenario-concurrency,10)}
iterations: 10
ramp-up: 1m
hold-for: ${__P(scenario-duration,10m)}
ramp-up: 60
hold-for: ${__P(scenario-duration,600)}
scenario: get-supply-lines-by-program-id-and-supplying-facility-id

scenarios:
Expand Down
Loading

0 comments on commit 75f8dba

Please sign in to comment.