Structure of a Test Case
A test case can be divided into three parts.
Figure 3.25: Structure of a test case
Ramp-Up
A load test often has a so-called "ramp-up" period.
This period corresponds to the gradual arrival of virtual users on the target system.
A warm-up period allows both the target server and the injectors to:
- Warm up the just in time (JIT) compiler of the java virtual machine (JVM) injectors
- Warm up the JIT of the (JVM)/common language runtime (CLR) of the tested application
- Retrieve/initiate resources (database connections, brokers queues, and so on)
- Fill caches
- Initiate the mechanism of autoscaling
- Distribute loads in a uniform manner (load balancer and so on) and so on
Ramp-up is configured with the Thread Group parameters.
Figure 3.26: Ramp-Up
The arrival rate of users is calculated as follows:
- The ramp-up time divided by the number of units (VUs)
Example for 300 seconds duration with 100 users:
- Frequency...