Giter Club home page Giter Club logo

hmrc.income-tax-submission-performance-tests's Introduction

income-tax-submission-performance-tests

Performance test suite for the Income Tax Submission Service, using performance-test-runner under the hood.

Running the tests

Prior to executing the tests ensure you have:

  • Docker - to start mongo container
  • Installed/configured service manager

Run the following command to start the services locally:

docker run --rm -d --name mongo -d -p 27017:27017 mongo:3.6

sm --start INCOME_TAX_SUBMISSION_ALL -r

Logging

The template uses logback.xml to configure log levels. The default log level is WARN. This can be updated to use a lower level for example TRACE to view the requests sent and responses received during the test.

Smoke test

It might be useful to try the journey with one user to check that everything works fine before running the full performance test

sbt -Dperftest.runSmokeTest=true -DrunLocal=true gatling:test

Running the performance test

sbt -DrunLocal=true gatling:test

Run the example test against staging environment

Smoke test

sbt -Dperftest.runSmokeTest=true -DrunLocal=false gatling:test

Run the performance test

To run a full performance test against staging environment, implement a job builder and run the test only from Jenkins.

hmrc.income-tax-submission-performance-tests's People

Contributors

robert-webb-hmrc avatar lz1kwn avatar adamsmithhmrc avatar hmrc-web-operations avatar bencosfordhmrc avatar joeyymoore avatar abiodxn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.