jmeter assertion (checkpoint)

I. Introduction

  Assertions are an additional layer mechanism to determine the level requested in return. Because the request is successful, the result does not mean necessarily correct, it is necessary to determine the mechanism to improve test accuracy. Here are common jmeter three kinds of assertions.

Two, jmeter three ways to assert common

  1. asserted in response (Response Assertion)

  Pattern matching rules (Pattern Matching Rules)

  ◆ include: return results include content you specify

  ◆ Matching: match the specified content

  ◆ Equals: return results consistent with the results that you specify

  ◆ Substring: the result is the result of the specified string

  ◆ No: Does not match

  Adding an assertion results (Assertion Results)

  2. The size of the assertion (Size Assertion)

   3. Duration assertion (Duration Assertion)

  PS: If the response time is greater than the response time of the set, the assertion fails, otherwise success

Guess you like

Origin www.cnblogs.com/huainanhai/p/12154399.html