In this video, Mike Smith introduces samplers—individual actions within the load test that replicate user interaction.
- [Instructor] I now need it to add a sampler…to my thread group to give my users actions…to perform during the load test.…A sampler is basically an instruction,…think of it as an action for the users to take.…Right clicking on the thread group,…I can highlight add and then sampler.…From here I get long list of the different samples.…JMeter is pretty diverse in the types of requests…it can send through.…
For this load test I just want to visit the site…so I'll select HTTP load test.…Left clicking on this will add it into the test plan…underneath the thread group.…I cannot add a sampler to the test plan itself…I have to have a thread group to perform these actions…before I can start adding them.…With the sampler added, I can see that the context section…of the screen has changed also.…I can see all of the details within my HTTP request.…
To visit the Landon Hotel website…I'm going to put HTTP in the protocol box…and the name of the website in the server name or IP box.…If I were looking for a page within…the Landon Hotel's domain, like slash log in…
- What is load testing and why do we do it?
- Creating and running load tests
- Improving a test by adding timers and assertions
- Running your load test through the CLI
- Saving CLI results to a .jtl file
- Importing a .jtl file to JMeter graphs
- Creating an HTML dashboard at CLI runtime