What Is Load Testing

Q

What is load testing?

✍: FYIcenter.com

A

Load testing, also called stress testing or performance testing, is to measure response time of a system under certain usage load.

There are several key considerations on performing load testing:

Size of the Load - This is to consider the number of users who are using the system at the given time.

In JMeter, the size of load is controlled by the "Number of threads (users)" property in "Thread Group".

Duration of the load - This is to consider the duration of the time during which the system is under the size of the load.

In JMeter, the duration of load is controlled in one of two ways: the "Loop count" and "Start time/End time" properties "Thread Group".

Pattern of the load - This is consider what each user is doing on the system during the duration of the load.

To simulate the real-world scenario, a load test should have the following controls:

  • To allow all users to be synchronized to perform the same tasks with the same time schedules.
  • To allow all users to independently and randomly perform different tasks and different times.
  • To allow all users to perform the same set of tasks at different time schedules.
  • To set wait time between two tasks for each users.
  • To control the ramp-up period during which users are get loaded to the system.

Unfortunately in JMeter, all users are defined to perform the same set of tasks repeatedly. And the ramp-up period is controlled by "Ramp-up period" property in "Thread Group".

 

What Is JMeter Thread Group

Load Testing with JMeter

Load Testing with JMeter

⇑⇑ Apache JMeter Tutorials

2017-11-18, 365👍, 0💬