Skip to content

[GPCAPIM-348]-[Create load testing framework]-[RP}#166

Merged
BJSS-russell-pollock merged 1 commit intomainfrom
feature/GPCAPIM-348
Apr 17, 2026
Merged

[GPCAPIM-348]-[Create load testing framework]-[RP}#166
BJSS-russell-pollock merged 1 commit intomainfrom
feature/GPCAPIM-348

Conversation

@BJSS-russell-pollock
Copy link
Copy Markdown
Contributor

Description

This ticket is to start working on those performance tests, but with a focus on the tests themselves and not the environment they're running against. This means that we can start the work as early as possible, and use the results to compare against different implementations. For example, this could be very useful when comparing different python frameworks to see how performance differs (even if the raw value from any test isn't useful). It also de-risks the future work, since we'll have load tests we can run at any time.

Context

As part of the beta project work, we are going to need to run performance tests so that we understand how performant the system is under load. This will require a representative environment, with representative delays on downstream calls (if we cannot call the real things).

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming
  • Exceptions/Exclusions to coding standards (e.g. #noqa or #NOSONAR) are included within this Pull Request.

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@BJSS-russell-pollock BJSS-russell-pollock force-pushed the feature/GPCAPIM-348 branch 2 times, most recently from 1c39451 to 69979ae Compare April 14, 2026 14:01
Comment thread scripts/tests/load.sh Outdated
Comment thread .github/workflows/preview-env.yml Outdated
Comment thread scripts/tests/test.mk Outdated
@BJSS-russell-pollock BJSS-russell-pollock force-pushed the feature/GPCAPIM-348 branch 26 times, most recently from cf894da to e2774c9 Compare April 16, 2026 09:44
@BJSS-russell-pollock BJSS-russell-pollock marked this pull request as ready for review April 17, 2026 07:52
@BJSS-russell-pollock BJSS-russell-pollock requested review from a team as code owners April 17, 2026 07:52
Copilot AI review requested due to automatic review settings April 17, 2026 07:52

This comment was marked as outdated.

Comment thread .github/workflows/preview-env.yml Outdated
Comment thread gateway-api/tests/load/health-test.py
Comment thread gateway-api/tests/load/health-test.py Outdated
Comment thread gateway-api/tests/load/health-test.py Outdated
Comment thread gateway-api/tests/README.md Outdated
- Verify that the real API implementation satisfies the consumer's expectations
- **Key point:** This is where the real API gets tested

### Load Testing with Locust ('load/')
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section looks to be mid-way through the Contract Testing section, does it need to be moved a few lines down?

Comment thread gateway-api/tests/README.md Outdated
- Tests can be ran in the terminal (headless) or controlled via a web UI.

**Running Load Tests:**

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its worth noting that the app needs to be running (i.e. make deploy) first.

Comment thread gateway-api/tests/README.md Outdated
make test-load-initial
```

To run the test using the interactive web UI:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a note that this requires proxygen set up?

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Deployment Complete

@BJSS-russell-pollock BJSS-russell-pollock merged commit 62013b3 into main Apr 17, 2026
54 checks passed
@BJSS-russell-pollock BJSS-russell-pollock deleted the feature/GPCAPIM-348 branch April 17, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants