Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Performance tests suite for Civil Money Claims application

License

Notifications You must be signed in to change notification settings

hmcts/cmc-performance-tests

Repository files navigation

CMC performance tests

These are the performance tests for CMC powered by Gatling framework. gradle-gatling-plugin is used for Gradle build system integration.

Getting Started

Prerequisites

Environment variables to be defined:

$ export URL="The citizen frontend application URL"
$ export LEGAL_URL="The legal frontend application URL"
$ export IDAM_API_URL="The IDAM api service URL"

Running the tests:

$ ./gradlew gatlingRun

Debugging:

To read a value from the gatling virtual session use something like:

.exec(session => {
        println(">>>>>>>>>>>>>>>>>>>> " + session("state").as[String])
        session
      })

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details