top of page

Java test helper
"The worst bugs are those that compile without warning."
"The system does not punish. It only compiles the truth."
"The purest release is the one that needs no comment."
"The world will not fall from a mistake - it will fall from indifference to it.”

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
bottom of page