<img alt="" src="https://secure.leadforensics.com/150446.png " style="display:none;">

Continuous Performance Testing

Kishore Bhamare Jun 06, 2016

Testing Performance Testing Benchmark Testing Continous Testing Continous Performance Testing

CPT.jpgContinuous Performance Testing is the process of executing performance tests, scripts as part of the software delivery to obtain immediate feedback on the business risks and detecting performance issues quickly and locating them more easily.

Today’s fast development pace demands continuous performance testing is an integral part of continuous delivery.

For Continuous Performance Testing, the scope of testing extends from validating requirements to executing test scripts.

This is more helpful for product based companies as well as in agile development where you get builds and baselines more frequently.

Following is the process for Continuous Performance Testing:

  1. Verify and understand the current business flow with stake holders. It will help you to Create / modify scripts accordingly.
  2. Check the deployed build:
    • Verify deployed build, baseline and check if there is any change prior to earlier build, base-line.
  3. Perform the sanity testing for each script. Email current working scripts status to stakeholder; it helps to take decision for performance schedule and which tests need to be run.
  4. Create performance test data if required.
  5. Database plays crucial role in performance testing, before starting any performance tests always take snapshot of DB. This will be helpful for repeating test scripts. One more benefit for snapshot is that you will get consistent results every time.
  6. In the deployed application, for generating the log we may need to do some modification in configuration files, thus find out any simplest way to do this. Create checklist for how to take generate logs and revert that setting after completing the test.
  7. Start all the performance monitors that are required to monitor/ captured data for further performance analysis.
  8. Before starting performance testing start application manually.
  9. Email performance test results to respective stake holder once the test is completed.

Testing types that will help you in continuous performance testing:

  • Benchmark testing: This test is carried out with a nominal user load in order to benchmark the response time of all transactions against previous build benchmark tests.

  • Load testing: This test is carried out with inflated user loads to check for performance bottlenecks in the application build.

  • Continuous testing: In this test each script is run in isolation for 30 minutes with a user load of nominal users. Purpose of the test is to isolate the performance issues / bottlenecks based upon the scenario under the test which may further add value to the performance tuning.

    E.g. If we have total 15 scripts then schedule will look like:

    Run first script for 1 hour then take break for half an hour then start next script.

    CPT-1.png

Today, Continuous Performance Testing has become essential and more advanced.  In Continuous performance testing we are time bound, so create checklist and setup standard process for each activity.

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.