Class AssertableResponseAbstract
java.lang.Object
net.bugreaper.modules.api.assertable.AssertableResponseAbstract
- Direct Known Subclasses:
AssertableResponse
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAssertableResponseAbstract(io.restassured.response.Response response, org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected Stringprotected StringgrabResponseHeaderMethod(String header) protected Stringprotected AssertableResponseAbstractseeResponseBodyElementsCountMethod(int expectedCount) protected AssertableResponseAbstractseeResponseBodyFieldMatchMethod(String path, org.hamcrest.Matcher<?> matcher) protected io.restassured.response.ResponseseeResponseCodeIsMethod(int statusCode) protected AssertableResponseAbstractprotected AssertableResponseAbstractseeResponseContainsExtendedJsonMethod(String expectedSetup) protected AssertableResponseAbstractseeResponseContainsJsonMethod(String expectedBody) protected AssertableResponseAbstractprotected AssertableResponseAbstractseeResponseContainsJsonStrictOrderMethod(String expectedBody) protected AssertableResponseAbstractseeResponseContainsJsonSubsetMethod(String expectedBody) protected AssertableResponseAbstractseeResponseExactlyMatchJsonIgnoringOrderMethod(String expectedBody) protected AssertableResponseAbstractseeResponseExactlyMatchJsonMethod(String expectedBody) protected AssertableResponseAbstractprotected AssertableResponseAbstractseeResponseHeaderMatchMethod(String header, org.hamcrest.Matcher<?> matcher) protected AssertableResponseAbstractprotected AssertableResponseAbstractprotected AssertableResponseAbstractprotected AssertableResponseAbstractseeResponseTimeLessMethod(long maxResponseMs)
-
Constructor Details
-
AssertableResponseAbstract
protected AssertableResponseAbstract(io.restassured.response.Response response, org.slf4j.Logger logger)
-
-
Method Details
-
seeResponseCodeIsMethod
protected io.restassured.response.Response seeResponseCodeIsMethod(int statusCode) -
seeResponseCodeIsSuccessfulMethod
-
seeResponseTimeLessMethod
-
seeResponseBodyFieldMatchMethod
protected AssertableResponseAbstract seeResponseBodyFieldMatchMethod(String path, org.hamcrest.Matcher<?> matcher) -
seeResponseHeaderMatchMethod
protected AssertableResponseAbstract seeResponseHeaderMatchMethod(String header, org.hamcrest.Matcher<?> matcher) -
seeResponseIsJsonTypeMethod
-
seeResponseContainsJsonMethod
-
seeResponseContainsExtendedJsonMethod
-
seeResponseContainsJsonSubsetMethod
-
seeResponseContainsJsonMethod
-
seeResponseExactlyMatchJsonMethod
-
seeResponseExactlyMatchJsonMethod
-
seeResponseContainsJsonStrictOrderMethod
-
seeResponseExactlyMatchJsonIgnoringOrderMethod
protected AssertableResponseAbstract seeResponseExactlyMatchJsonIgnoringOrderMethod(String expectedBody) -
seeResponseMatchesJsonSchemaMethod
-
seeResponseMatchesXmlSchemaMethod
-
seeResponseBodyElementsCountMethod
-
grabResponseHeaderMethod
-
grabResponseBodyMethod
-
grabStringFromResponseByPathMethod
-
grabDataFromResponseByPathMethod
-