cloud-performance-testing-strategies

The number of failures experienced by an application can be considerably reduced by implementing and performing proper Load testing strategies throughout the development cycle. It can significantly reduce the number of failures occurring in an application and can also affect the revenue of the application. However, it is expensive to fix. Performance testing is performed to understand the behavior of the system as well as to measure the overall response time with other application in the system.

There are various kinds and strategy of load testing, which can be used to simulate different load on the application. Here, each strategy can help us to identify different types of problems in the application/infrastructure.

Note: We have already seen the concept of parameterization and how to store response data in the CSV file.

Now, let’s move ahead with script validation

Script Validation
  1. First, add “View Result Tree” listener.Performance Test Strategies with Single and Multiple UsersMake sure the number of users and number of iteration (loop count) is 1.
  2. Click on run.Performance Test Strategies with Single and Multiple Users
  3. Validate each response to make sure the script is working as expected.Performance Test Strategies with Single and Multiple Users
Adding List of Listener
  1. Add required listeners, which need to be monitored during execution.Performance Test Strategies with Single and Multiple Users
  2. Also, pass result file name where the result will be saved for the future. That result can be analyzed importing in the same.Performance Test Strategies with Single and Multiple Users
  3. For high users load view result tree is recommended for Errors only.Performance Test Strategies with Single and Multiple Users
  4. The delay between steps some time needs to pass some delay between a request to make scenario realistic or for controlling the load. It can be done as shown below.Performance Test Strategies with Single and Multiple Users
Execution
  1. Pass number of users, ramp up period and number of iterations (in below example all 10 will be ramped up in 60 seconds and it will be executed for forever – here need to stop test manually).Performance Test Strategies with Single and Multiple Users2. Now start the test and monitor listeners.Performance Test Strategies with Single and Multiple Users

You may also like: How to Store Responsive Data while working with JMeter?

Leave a comment

Your email address will not be published. Required fields are marked *