/cmc-performance-tests

Performance tests suite for Civil Money Claims application

Primary LanguageScalaMIT LicenseMIT

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