How to Validate Response Status Code?

Response is an interface which lives in the package: io.restassured.response. This interface has lots of methods, mostly methods which can help to get parts of the received response. Take a look at some of the important methods. A simple Response followed by a dot (Response.) in eclipse would shown the available methods on the interface. As shown in the image below

Validate Response Status using Rest Assured



Last modified: Monday, 27 January 2020, 12:17 PM