JMeter Test Plan的组成部分之Timers
A Timer Component is an option in building a Test Plan. It causes JMeter to pause for a certain amount of time between two successive requests that a Thread Group makes. As JMeter, by default, sends one request immediately after the other, which could overwhelm the server, adding a Timer will reduce the risk of breaking down the server's performance. This is especially useful if you are testing the application from its functional aspect.
However, you need to take care not to add too many Timers to a Thread Group, as JMeter will pause between two requests for the sum of all timers found in a Thread Group.
As an example, the Constant Timer Control Panel looks like this:
The following list consists of all the Timers JMeter provides:
- Constant Timer
- Gaussian Random Timer
- Uniform Random Timer
- Constant Throughput Timer
- Synchronizing Timer
- BeanShell Time
读书笔记:Apache JMeter