Uses of Class
us.abstracta.jmeter.javadsl.core.assertions.DslJsonAssertion
-
Packages that use DslJsonAssertion Package Description us.abstracta.jmeter.javadsl us.abstracta.jmeter.javadsl.core.assertions -
-
Uses of DslJsonAssertion in us.abstracta.jmeter.javadsl
Methods in us.abstracta.jmeter.javadsl that return DslJsonAssertion Modifier and Type Method Description static DslJsonAssertionJmeterDsl. jsonAssertion(String jsonQuery)Builds an Assertion element to check that obtained sampler result JSON is the expected one.static DslJsonAssertionJmeterDsl. jsonAssertion(String name, String jsonQuery)Same asJmeterDsl.jsonAssertion(String)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 DslJsonAssertion in us.abstracta.jmeter.javadsl.core.assertions
Methods in us.abstracta.jmeter.javadsl.core.assertions that return DslJsonAssertion Modifier and Type Method Description DslJsonAssertionDslJsonAssertion. equalsTo(Object value)Specifies to check the value extracted is the given value.DslJsonAssertionDslJsonAssertion. equalsToJson(String json)Specifies the raw JSON value to check the extracted value is equals to.DslJsonAssertionDslJsonAssertion. matches(String regex)Specifies to check the value extracted with the given query to match the given regular expression.DslJsonAssertionDslJsonAssertion. not()Allows to check the inverse/negated condition specified by the rest of assertion settings.DslJsonAssertionDslJsonAssertion. not(boolean negated)Sames asnotbut allowing to enable/disable the setting with a variable.DslJsonAssertionDslJsonAssertion. queryLanguage(DslJsonExtractor.JsonQueryLanguage queryLanguage)Allows selecting the query language to use for JSON assertion.
-