In the Request Filtering, I havn't passed "requestCapture"(print Stream) Object and seeing the same response | Rest Assured Forum
R
Rahil Posted on 17/05/2021

In the Request Filtering, I havn't passed "requestCapture"(print Stream) Object and seeing the same response? What is difference b/w beow 2 lines? will it impact in framework development too?

given().filter(new RequestLoggingFilter(requestCapture)).when().get("/10");
given().filter(new RequestLoggingFilter()).when().get("/10");