top of page

"The world will not fall from a mistake - it will fall from indifference to it.”

bugreaper-api_compr.png

Module for interaction with API and
mock-server

Interactions:

sendGet(String)
sendHead(String)
sendOptions(String)
sendPost(String)
sendPost(String, Object)
sendPut(String)
sendPut(String, Object)
sendPatch(String, Object)
sendDelete(String)
sendDelete(String, Object)

Configs:

.withContentTypeXml()
.withContentType(ContentType)
.withMaxResponseMsAssert(long)
.withoutContentType()
.withLogging(boolean)
.setHeader(String, String)
.setHeaders(Map<String, String>)
.setQueryParams(Map<String, String>)
.setBearerAuth(String)
.setBasicAuth(String, String)
.setNoAuth()

Response Asserts:

seeResponseCodeIs(int)
seeResponseCodeIsSuccessful()
seeResponseTimeLess(long)
seeResponseBodyFieldMatch(String, Matcher<?>)
seeResponseHeaderMatch(String, Matcher<?>)

seeResponseIsJsonType()
seeResponseContainsJson(String)
seeResponseContainsJson(Path)
seeResponseExactlyMatchJson(String)
seeResponseExactlyMatchJson(Path)
seeResponseContainsJsonStrictOrder(String)
seeResponseExactlyMatchJsonIgnoringOrder(String)
seeResponseMatchesJsonSchema(Path)
seeResponseMatchesXmlSchema(Path)


Get data:

grabResponseHeader(String)
grabResponseBody()
grabDataFromResponseByPath()

INFO

IN progress

Info

in progress

INFO

In progress

© 2025 BUGREAPER

bottom of page