What do you mean by performance testing?

Software TestingAutomation TestingTesting Tools

The performance testing is done to verify if the application under test is working as per expectation under a specific workload. One of the most commonly used performance testing methods is known as load testing.

Let us take an example of an e-commerce site like Amazon, Flipkart, and so on. A user can do multiple operations on these applications like buying products, adding to a cart, and so on using the web user interface.

To test all the features on these applications, only web UI testing is not sufficient. There are other parameters that must be considered before these applications are run on the production.

Let us take a scenario when there are huge discounts announced on products on Amazon due to festivals. Needless to say, the number of users accessing Amazon shall be many more than on ordinary days.

In these scenarios, when there are a lot number of people using an e-commerce application at the same time, then the application server should be up and running.

This means in spite of the heavy traffic, the response time or the performance of the application should be smooth like the usual days. In case the server becomes unresponsive, then the users shall be affected, impacting business to a large extent.

All these parameters are considered while we are doing performance testing. Nowadays, in software companies, there are dedicated teams working on performance testing scenarios.

In performance testing, we can create a script to simulate a simple scenario for example - searching a product on an e-commerce application would be running for a large number of users(say, 1000 or 5000) continuously for a specific amount of time(say, 5 or 10 hours).

Some of the popular performance testing tools are Load Runner, JMeter, and so on. Among all, JMeter is a popular one and is used extensively. The below diagram shows the architecture of JMeter.

Image source − https://www.tutorialspoint.com/jmeter/jmeter_overview.htm

Advantages of JMeter over other performance testing tools are listed below −

  • JMeter is free and open-source.

  • JMeter is based on Java and can be run over multiple platforms like Windows, Mac, and so on.

  • JMeter has a user-friendly interface.

  • Jmeter has the record and playback feature and hence scripting knowledge is not mandatory for users.

raja
Updated on 08-Feb-2022 09:54:42

Advertisements