Now we will see how to record script for the application whose performance is to be tested using Jmeter
Script can be recorded in two ways:
Using Test Plan
If you are beginner with Jmeter it is advisable to record in workbench and once you are sure about the recorded script it can be moved to test plan. Continue reading “JMeter Tutorial: Recording of script using Jmeter”
These are the requests send by Jmeter to the server. It waits till the response is received. Various types of samplers are available as per the request to be sent. Commonly used are:
- HTTP Request
- JDBC Request
- FTP Request
Continue reading “JMeter Tutorial: Thread Group Samplers”
These are used to process the response data, to extract the values from it and so on. These are applied after the samplers. These are executed just after the request is made and before the assertions.
Continue reading “JMeter Tutorial: Thread Group Post Processors”
These are used to modify or create or update the requests or variables. It is executed just prior to the request is made.
Continue reading “JMeter Tutorial: Thread Group Pre Processors”
These are used to provide delay between various requests within same thread group or within various thread groups. Timers can be applied at test level, thread level, controller level, and request level. Some of the commonly used Timers are:
Constant Timer: These timers are used to provide a constant delay.
Continue reading “JMeter Tutorial: Thread Group Timers”
It is used the view the test results. Various types of listeners are available in Jmeter. Some of commonly used are:
- View Results in Table
- View Results Tree
- Graph results
- Aggregate Report
- Assertion Results
- Assertion Graph and many more…
Continue reading “JMeter Tutorial: Thread Group Listeners”
These elements are used for setting the variables and defaults. Various types of variables can be set using Config elements.
Continue reading “JMeter Tutorial: Thread Group Config Elements”
- Elements can be stored here temporarily
- Provides the capability to copy and paste the elements under Test Plan or Thread Group
- On saving or running the Test Plan, elements within workbench will not be saved or executed
Continue reading “JMeter Tutorial: Workbench”