Test plan :
A Test Plan is a logical container that contains different requests or operations required to create a performance test script. The different types of operations are carried out by different elements of the Test Plan. Using JMeter GUI for adding, removing and configuring the Test Plan elements.
The following are the few of the commonly used test plan elements
- Thread GroupThread Groups are used to simulate virtual users in a performance test. We can have multiple thread groups simulating different types of operations performed by users on an application.
- SamplerSamplers are the different requests which we can send to the server being tested. JMeter provides us various samplers like - HTTP, FTP, TCP, JDBC etc request samplers.
- Logic ControllersLogic controller allow us to customize the way the Sampler requests is sent to the server. A common example of Logic Controller is Loop controller which makes a request multiple times to the server.
- Timers
Timers are used to halt the test execution for specified duration. Basically we use Timers to simulate real user wait Time or think time. - Assertions
Assertions are used to perform some validations to check the correctness of the response received from the server. - Listeners
Listeners in JMeter are used to save, view and analyze the test results in graphical or tabular forms. - Config elements
Config elements in JMeter are used to configure or modify the sampler requests made to the server. These elements are added at the same or higher level of the samplers that we want to configure.
Note : The test plan should have atleast one thread group.
No comments:
Post a Comment