JMeter Study (v) checkpoint

Source: Internet
Author: User

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

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.