What is load testing?

Load testing is a type of non-functional type of testing. Load testing is used to check how the system works in both normal and peak conditions.

This type of testing is performed under the controlled laboratory system to check the working difference of two systems (One system having load and other system is having no load) and the response is measured. Load testing is said to be the subset of the performance testing. The load on the application under test is constantly increased till the application reaches to its threshold value limit.

Example of the load testing:

1.  Open and run two or more than two applications simultaneously and observe the response of the system.

2. Downloading the large files from the internet.

3 Create a large traffic subjecting to the server.

4. Giving too many print commands in the queue to the printer, etc.

Load testing gives us the response time, throughput rate, and even the breaking point of our application. The following are the steps performed for load testing a web application:

1. Identify performance acceptance criteria.

2. Identify key scenarios.

3. Create a workload model.

4. Identify the target load levels.

5. Identify metrics.

6. Design specific tests.

7 . Run tests.

8. Analyze the results.

1. Identify performance acceptance criteria:

Identifying the performance acceptance criteria is most important task. The objectives used are:

  • Response time.
  • Throughput.
  • Maximum user load.

2. Identify key scenarios: Key scenarios include multiple activities of application. There are various steps in identifying the key scenarios:

 

istqb load testing

  • Identify all scenarios for web application:

–  Search the product on the internet.

– Place an order for that product.

  • Identify all the activities involved in each scenario.

– Log in to the web application.

– Search the product catalog.

– Search for the particular product.

– Add an item to the cart.

– Enter credit card details.

– Validate the credit card details.

– Place an order.


3. Creating a workload model: According to the scenario of the web application, the workload model is selected.

4. Identify the target load levels: The target load levels are identified to ensure that the tests can be used to predict or compare a variety of production load conditions.

5. Identify metrics: Identifying the metrics that are most suited to our applications are most important.

6. Design specific tests: Using scenarios, key metrics, and workload analysis, specific tests that are to be conducted can be designed.

7. Run tests: the tests which are designed are executed.

8. Analyze the test: Analyze the result to measure the performance between two tests or all the tests are executed. Correct analyzing the tests requires the experience.

Share This:
Facebooktwittergoogle_plusredditpinterestlinkedintumblr