Uses of Class
us.abstracta.jmeter.javadsl.core.assertions.DslResponseAssertion
-
Packages that use DslResponseAssertion Package Description us.abstracta.jmeter.javadsl us.abstracta.jmeter.javadsl.core.assertions -
-
Uses of DslResponseAssertion in us.abstracta.jmeter.javadsl
Methods in us.abstracta.jmeter.javadsl that return DslResponseAssertion Modifier and Type Method Description static DslResponseAssertionJmeterDsl. responseAssertion()Builds a Response Assertion to be able to check that obtained sample result is the expected one.static DslResponseAssertionJmeterDsl. responseAssertion(String name)Same asJmeterDsl.responseAssertion()but allowing to set a name on the assertion, which can be later used to identify assertion results and differentiate it from other assertions. -
Uses of DslResponseAssertion in us.abstracta.jmeter.javadsl.core.assertions
Methods in us.abstracta.jmeter.javadsl.core.assertions that return DslResponseAssertion Modifier and Type Method Description DslResponseAssertionDslResponseAssertion. anyMatch()Specifies that if any check matches then the response assertion is satisfied.DslResponseAssertionDslResponseAssertion. anyMatch(boolean enable)Same asanyMatch()but allowing to enable or disable it.DslResponseAssertionDslResponseAssertion. containsRegexes(String... regexes)Checks if the configuredfieldToTest(TargetField)contains matches for given regular expressions.DslResponseAssertionDslResponseAssertion. containsSubstrings(String... substrings)Checks if the specifiedfieldToTest(TargetField)contains the given substrings.DslResponseAssertionDslResponseAssertion. equalsToStrings(String... strings)Compares the configuredfieldToTest(TargetField)to the given strings for equality.DslResponseAssertionDslResponseAssertion. fieldToTest(DslResponseAssertion.TargetField fieldToTest)Specifies what field to apply the assertion to.DslResponseAssertionDslResponseAssertion. ignoreStatus()Specifies that any previously status set to the request should be ignored, and request should be marked as success by default.DslResponseAssertionDslResponseAssertion. ignoreStatus(boolean enable)Same asignoreStatus()but allowing to enable or disable it.DslResponseAssertionDslResponseAssertion. invertCheck()Allows inverting/negating each of the checks applied by the assertion.DslResponseAssertionDslResponseAssertion. invertCheck(boolean enable)Same asinvertCheck()but allowing to enable or disable it.DslResponseAssertionDslResponseAssertion. matchesRegexes(String... regexes)Checks if the configuredfieldToTest(TargetField)matches (completely, and not just part of it) given regular expressions.
-