Skip to content

Commit db4f147

Browse files
authored
VED-912: Misc perf test fixes and improvements. (#1333)
1 parent 3d3e969 commit db4f147

5 files changed

Lines changed: 2375 additions & 25 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SHELL=/usr/bin/env bash -euo pipefail
22

33
PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS = lambdas/backend lambdas/ack_backend lambdas/batch_processor_filter lambdas/delta_backend lambdas/filenameprocessor lambdas/id_sync lambdas/mesh_processor lambdas/mns_subscription lambdas/recordforwarder lambdas/recordprocessor lambdas/redis_sync lambdas/shared
4-
PYTHON_PROJECT_DIRS = tests/e2e_automation quality_checks $(PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS)
4+
PYTHON_PROJECT_DIRS = tests/e2e_automation tests/perf_tests quality_checks $(PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS)
55

66
.PHONY: install lint format format-check clean publish oas build-proxy release initialise-all-python-venvs update-all-python-dependencies run-all-python-unit-tests build-all-docker-images
77

tests/perf_tests/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
test:
22
poetry run locust -f src/locustfile.py
33

4-
.PHONY: test
4+
test-read-only:
5+
poetry run locust -f src/locustfile.py SearchUser
6+
7+
.PHONY: test test-read-only
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ This project contains Locust performance tests for the Immunisation FHIR API.
44

55
To run them, ensure you have the
66
`APIGEE_ENVIRONMENT` : Currently, only the ref environment is supported.
7-
`PERF_SUPPLIER_SYSTEM` : `EMIS` or `TPP`
87
`PERF_CREATE_RPS_PER_USER` : numeric
98

109
env vars set, and call `make test`.

0 commit comments

Comments
 (0)