Assertions are similar to checkpoints in LoadRunner. Make judgments on the information returned by the previous request, such as the string, packet size, HTML, XML, and image, to ensure the accuracy of the returned information.
Add response assertions: Welcome
If the login page is successful, the background will return the Welcome Message
Multiple assertions can be added to the assertion for joint judgment, and the parameterized method can also be used for dynamic judgment.
Add assertion results
Assertion is correct
Let's take an exception asserted to see if jmeter returns an exception in the asserted result.
Modify assertion at will
When you run the script, a prompt message indicating that the assertions cannot be found appears.
Jmeter (III)-simple http request (non-recorded)
Jmeter (II)-use a proxy recording script
Jmeter (1)-simplified test script