Again, as with my previous post, it's best to think of this as my course notes. These are meant for me to revisit and understand. I believe it's important to make your learning as accessible to you as possible. Often the way something's explained can be a barrier to your understanding, making it (usually unintentionally) sound more complicated than it actually is. Unfortunately, this puts a lot of people off learning, which is a shame.
Firstly, I want to record the commands for reports. Note: I'm on a Linux machine.
If you have an existing results file: sh jmeter -g somefile3.csv -o report-output/mytestreports1 -- this is really easy way to make pretty HTML reports out of existing results files.
- thread group (think users: this simulates the amount of users)
- a sampler to your thread group (sampler: think the request you want to make, the thing you want to do)
- a listener (you need at least one of these to have any feedback. There are quite a few to choose from depending on the format you're after). Below is a listerner showing two runs, one that failed and one that passed:
- assertions (for example, the right code is returned, or a certain word appears on a page)
- config element (these run before the sampler and set up initial conditions -- usually for the whole test plan (I think).
- pre-processors (things you want to have considered before the sampler runs)
- post-processors (essentially doing something with the response)
- Configuration elements
- Pre-processors
- Timers
- Samplers
- Post-processors
- Assertions
- Listeners