Skip to content

hmcts/xui-performance

Repository files navigation

XUI Gatling Performance Tests

This script runs a suite of services against XUI in a cohabitation scenario:

  • General caseworker flows
  • Financial Remedy solicitor journey
  • Family Public Law solicitor journey
  • Immigration and Asylum solicitor journey
  • No Fault Divorce solicitor journey
  • Private Law C100 solicitor journey
  • Private Law FL401 solicitor journey
  • Probate solicitor journey

To run locally:

  • Performance test against the perftest environment: ./gradlew gatlingRun

Flags:

  • Debug (single-user mode): -Ddebug=on e.g. ./gradlew gatlingRun -Ddebug=on
  • Run against AAT: Denv=aat e.g. ./gradlew gatlingRun -Denv=aat

Before running locally, update the client secret in src/gatling/resources/application.conf then run git update-index --assume-unchanged src/gatling/resources/application.conf to ensure the changes aren't pushed to github.

To make other configuration changes to the file, first run git update-index --no-assume-unchanged src/gatling/resources/application.conf, ensuring to remove the client secret before pushing to origin

🔗 Submodules

The XUI-Performance repo now utilises calls from the common-performance repo, using the XUIHelper file.

Please ensure that you run git submodule update --init --recursive to populate the common folder with the required folders & files for the first time. Then run ./gradlew clean build to ensure any changes are picked up. (For further information, please refer to the Setup Instructions)

Also ensure that you run git submodule update --recursive --remote, followed by ./gradlew clean build to check that you have the latest code from the common repo, before running or doing any updates to this repo.

Note - These steps will also be required when you clone or run on the VMs!

About

this is Expert UI performance test nightly pipeline

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors