Jmeter (iv)-assertion/Checkpoint

Source: Internet
Author: User

Assertions are similar to checkpoints in LoadRunner. The information returned from the previous request is judged by the string, packet size, HTML, XML, image, etc. to ensure the accuracy of the returned information.

Add Response Assertion: Welcome

If the landing page is successful, the background will return the welcome message

Assertions can be added with multiple assertions together, and assertions can also be made using parameterized methods to make dynamic judgments.

Adding assertion Results

Assertion is judged correctly

Take a look at an abnormal assertion to see if JMeter returns an exception in the assertion result.

Arbitrarily modifying assertions

When you run the script, you receive a hint that the assertion could not be found.

Jmeter (iv)-assertion/Checkpoint

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.