Test Elements
Right click on a thread group to add elements, which are executed in this order
within each controller:
- Pre-Processors execute functions before requests are sent:
HTML Link Parser,
HTTP URL Re-writing Modifier,
HTML Parameter Mask,
HTTP User Parameter Modifier,
User Parameters,
Counter,
BeanShell PreProcessor
- Timers add delays between responses:
Constant, Gaussian Random, Uniform Random, Constant Throughput, Synchronizing, BeanShell
- Samplers (introduced with v2.1.2) are protocol specific.
Protocols supported by JMeter samplers include:
The JUnit
Sampler includes methods for "oneTimeSetUp" and "oneTimeTearDown".
These should be thread-safe (not static methods).
- Post-Processors execute functions after requests are sent.
Regular Expression Extractor,
XPath Extractor,
Result Status Action Handler,
Save Responses to a file,
Generate Summary Results,
BeanShell PostProcessor
- Assertions determine if the application is returning the results expected:
Response, Duration, Size, XML, BeanShell, MD5Hex, HTML, XPath, XML Schema
- Listeners perform data collection, aggregation, and visualization (display):
Sample Result Save Configuration,
Graph Full Results,
Graph Results,
Spline Visualizer,
Assertion Results,
Aggregate Report,
View Results in Table,
Simple Data Writer,
Monitor Results,
Distribution Graph (alpha),
Aggregate Graph,
Mailer Visualizer,
BeanShell Listener,
Summary Report
View Results Tree requires a large amount of memory and processing resources.
- Logical controller elements
tell JMeter when to send requests:
Simple, Once Only, Loop, Random, Random Order, If, While, Switch, ForEach,
Module, Throughput, Runtime, Interleave, Include, Transaction, Recording
- Generative Controller elements
communicate with applications.
|
|
"Parsing XML is CPU intensive. On a Pentium 4 2.4ghz cpu, 50 threads is the upper limit."
|
|
|