JMeter also has checkpoints like LR, this article introduces how to implement the Checkpoint JMeter.
The checkpoint inside the JMeter is done by adding assertions.
checkpoint : In the previous chapter, we have parameterized the user name and password, then how to determine if JMeter has correctly called T.dat inside the file. Of course, we can view it from the results chart. But I still want to check it out in the "sign in" area.
1. Add a response assertion, right-click on our "Sign in" page----> Add----> Assert----> Response Assertion
2. Setting the response assertion
Assertions can be added with multiple assertions together, and assertions can also be made using parameterized methods to make dynamic judgments.
3. Add an assertion result, right-click on our "Sign in" page----> Add----> Listener----> Assert results
Add a "View results tree" Right-click on our "Sign in" page----> Add----> Listener----> View results Tree
Set up 3 users in the thread group and click Run Run.
To view the successful assertion results:
If the assertion fails, such as:
Then view the result tree:
At this point, the checkpoint setup is complete.
In addition, there are other types of assertions:
Duration to Assert: Maximum allowable response time
Size to Assert: standard definition for return result file size
If sampler is set to have multiple assertions, it will be judged by assertions, as long as there is a non-conforming will be marked false.
JMeter Study (v) checkpoint