Samplers are used for sending requests to different kind of servers. They are the basic element of every test plan and everything works around them: they execute requests (based on the configuration provided) and these requests produce one or more responses that are analyzed afterwards.
Here is a list of the Samplers available in JMeter (we are going to see some of them in this tutorial):
Here is a list of the Samplers available in JMeter (we are going to see some of them in this tutorial):
- Access log sampler
- AJP sampler
- Bean shell sampler
- BSF sampler
- Debug sampler
- FTP sampler
- HTTP sampler
- Java sampler
- JDBC sampler
- JMS (several) samplers
- JSR223 sampler
- JUnit sampler
- LDAP (several) samplers
- Mail Reader
- MongoDB sampler
- OS process sampler
- SMTP sampler
- SOAP
- TCP samplers
- Test action
As we can see in the list above, there are a lot of different types of samplers; this list is not complete since there are several samplers implemented in different JMeter plugins. The configuration of each sampler depends on the request that it executes, that means that some samplers have things in common but others are completely different because of the nature of their requests.