SessionFilter sessionFilter = new SessionFilter();
given().
auth().form("John", "Doe").
filter(sessionFilter).
expect().
statusCode(200).
body(equalTo("OK")).
when().
get("/formAuth");
given().
filter(sessionFilter). // Reuse the same session filter instance to automatically apply the session id from the previous response
expect().
statusCode(200).
body(equalTo("OK")).
when().
get("/formAuth");
Original issue reported on code.google.com by johan.ha...@gmail.com on 22 Nov 2013 at 4:06
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 22 Nov 2013 at 4:06