.withPath(calculatePath("some_pathRequest")) .withCookies( cookie(not("requestCookieNameOne"), not("requestCookieValueOne")), cookie("requestCookieNameTwo", "requestCookieValueTwo") .withPath(calculatePath("some_pathRequest")) .withCookies( cookie("requestCookieNameOne", "requestCookieValueOne"), cookie("requestCookieNameTwo", "requestCookieValueTwo") ), headersToIgnore) .withPath(calculatePath("some_pathRequest")) .withCookies( cookie("requestCookieNameOne", "requestCookieValueOne"), cookie("requestCookieNameTwo", "requestCookieValueTwo") ), headersToIgnore)
.withPath(calculatePath("some_pathRequest")) .withCookies( cookie(string("requestCookieNameOne"), not("requestCookieValueOne")), cookie("requestCookieNameTwo", "requestCookieValueTwo") .withPath(calculatePath("some_pathRequest")) .withCookies( cookie("requestCookieNameOne", "OTHERrequestCookieValueOne"), cookie("requestCookieNameTwo", "requestCookieValueTwo") ), headersToIgnore)
.withPath(calculatePath("some_pathRequest")) .withCookies( cookie(not("requestCookieNameOne"), string("requestCookieValueOne")), cookie("requestCookieNameTwo", "requestCookieValueTwo") .withPath(calculatePath("some_pathRequest")) .withCookies( cookie("OTHERrequestCookieNameOne", "requestCookieValueOne"), cookie("requestCookieNameTwo", "requestCookieValueTwo") ), headersToIgnore)
.withPath(calculatePath("some_pathRequest")) .withCookies( cookie(not("requestCookieNameOne"), not("requestCookieValueOne")), cookie("requestCookieNameTwo", "requestCookieValueTwo") .withPath(calculatePath("some_pathRequest")) .withCookies( cookie("OTHERrequestCookieNameOne", "requestCookieValueOne"), cookie("requestCookieNameTwo", "requestCookieValueTwo") ), headersToIgnore) .withPath(calculatePath("some_pathRequest")) .withCookies( cookie("requestCookieNameOne", "OTHERrequestCookieValueOne"), cookie("requestCookieNameTwo", "requestCookieValueTwo") ), headersToIgnore)
.withReasonPhrase(HttpStatusCode.ACCEPTED_202.reasonPhrase()) .withBody("some_body_response") .withCookies(cookie("cookieNameResponse", "cookieValueResponse")) ); .withReasonPhrase(HttpStatusCode.ACCEPTED_202.reasonPhrase()) .withBody("some_body_response") .withCookies(cookie("cookieNameResponse", "cookieValueResponse")) .withHeaders( header(SET_COOKIE.toString(), "cookieNameResponse=cookieValueResponse") .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) ); .withReasonPhrase(HttpStatusCode.ACCEPTED_202.reasonPhrase()) .withBody("some_body_response") .withCookies(cookie("cookieNameResponse", "cookieValueResponse")) .withHeaders( header(SET_COOKIE.toString(), "cookieNameResponse=cookieValueResponse") .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );
.withCookies(cookie("cookieName", "cookieValue")) .withBody("some_body") .withHeaders(header("headerName", "headerValue")) .withCookies(cookie("cookieName", "cookieValue")) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) );
.withCookies(cookie("cookieName", "cookieValue")) .withBody("some_body") .withHeaders(header("headerName", "headerValue")) .withCookies(cookie("cookieName", "cookieValue")) ); .withCookies(cookie("cookieOtherName", "cookieValue")), headersToIgnore) ); .withCookies(cookie("cookieOtherName", "cookieValue")), headersToIgnore) );
.withCookies(cookie("cookieName", "cookieValue")) .withBody("some_body") .withHeaders(header("headerName", "headerValue")) .withCookies(cookie("cookieName", "cookieValue")) ); .withCookies(cookie("cookieName", "cookieOtherValue")), headersToIgnore) ); .withCookies(cookie("cookieName", "cookieOtherValue")), headersToIgnore) );
.withCookies(cookie("cookieName", "cookieValue")) .withBody("some_body") .withHeaders(header("headerName", "headerValue")) .withCookies(cookie("cookieName", "cookieValue")) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) );
.withCookies(cookie("cookieName", "cookieValue")) .withBody("some_body") .withHeaders(header("headerName", "headerValue")) .withCookies(cookie("cookieName", "cookieValue")) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) );
.withCookies(cookie("cookieName", "cookieValue")) .withBody("some_body") .withHeaders(header("headerName", "headerValue")) .withCookies(cookie("cookieName", "cookieValue")) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) ); .withCookies(cookie("cookieName", "cookieValue")), headersToIgnore) );
.withBody("some_body_response") .withHeaders(header("headerNameResponse", "headerValueResponse")) .withCookies(cookie("cookieNameResponse", "cookieValueResponse")) ); )) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) ); "&bodyParameterTwoName=Parameter+Two")) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );
.withBody("some_body_response") .withHeaders(header("headerNameResponse", "headerValueResponse")) .withCookies(cookie("cookieNameResponse", "cookieValueResponse")) ); )) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) ); "&bodyParameterTwoName=Parameter+Two")) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );
.withBody("some_body_response") .withHeaders(header("headerNameResponse", "headerValueResponse")) .withCookies(cookie("cookieNameResponse", "cookieValueResponse")) ); header("headerNameRequest", "headerValueRequest") .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );
)) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) ); "&bodyParameterTwoName=Parameter+Two")) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );
)) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) ); "&bodyParameterTwoName=Parameter+Two")) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );
)) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) ); "&bodyParameterTwoName=Parameter+Two")) .withHeaders(header("headerNameRequest", "headerValueRequest")) .withCookies(cookie("cookieNameRequest", "cookieValueRequest")), headersToIgnore) );