- statusCode
Expect that the response status code matches the given Hamcrest matcher. E.g.
expect().statusCode(e
- get
- when
Syntactic sugar, e.g.
expect().body(containsString("OK")).when().get("/something");
is that sam
- body
Expect that the response body conforms to one or more Hamcrest matchers. E.g.
// Expect that the re
- contentType
Expect the response content type to be contentType.
- delete
- post
- put
- log
Returns the ResponseLogSpecification that allows you to log different parts of
the ResponseSpecifica
- root
Set the root path with arguments of the response body so that you don't need to
write the entire pat
- header
Expect that a response header matches the supplied header name and hamcrest
matcher. E.g. expect tha
- options