https://github.com/defra/ffc-grants-performance-tests
Git repository for service ffc-grants-performance-tests
https://github.com/defra/ffc-grants-performance-tests
cdp performance test test-suite
Last synced: about 1 month ago
JSON representation
Git repository for service ffc-grants-performance-tests
- Host: GitHub
- URL: https://github.com/defra/ffc-grants-performance-tests
- Owner: DEFRA
- License: other
- Created: 2025-01-25T13:10:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-31T20:24:27.000Z (about 1 year ago)
- Last Synced: 2025-06-01T06:11:50.600Z (about 1 year ago)
- Topics: cdp, performance, test, test-suite
- Language: Shell
- Size: 39.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ffc-grants-performance-tests
This is the performance test suite for non-land based grant application journeys maintained by Grant Application Enablement.
There is a single test that, for *each grant* in sequence:
- Runs for 180 seconds
- Ramps up to 50 threads following the full grant journey with a 3 second interval between interactions
- Asserts that all requests receive an HTTP 200 Ok response
- Asserts that the average response time is under 500 ms
- Asserts that no single response is greater that 3000 ms
- Currently we do not submit the final application for email sending as this can generate 429 responses from GOV Notify
The intention is to prevent an unexpected performance regression being introduced to the service.
### Running locally
Use JMeter GUI. Set the `Server Name` in `HTTP Request Defaults` to an instance of service `forms-runner-v2`, either hosted or local, and use JMeter to run the test.
### CDP Portal
Tests are run from the CDP Portal under the `Test Suites` section. Before any changes can be run, a new docker image must be built, this will happen automatically when a pull request is merged into the `main` branch. The reports from the test run are then available through the portal.
## Licence
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
The following attribution statement MUST be cited in your products and applications when using this information.
> Contains public sector information licensed under the Open Government licence v3
### About the licence
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable
information providers in the public sector to license the use and re-use of their information under a common open
licence.
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.