Hello!
Thanks a lot for RA-library, it's very usefull!
I use RA to check a set of HTTP requests and faced such a problem:
addResponseSpecification overwrites StatusLine expectations, but I'd like to check it twice, cause any response has common part and particular part. like this:
private static ResponseSpecification failRespSpec = new ResponseSpecBuilder()
.expectStatusLine(containsString("HTTP/1.1"))
.....
.build();
private static ResponseSpecification emptyloginRespSpec = new ResponseSpecBuilder()
.addResponseSpecification(getFailRespSpec())
.expectStatusLine(containsString("BAD REQUEST"))
......
.build();
So I'd like to check protocol once for any requests - is there any way to do it? Thanks!
--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--