Top "Rest-assured" questions

REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs.

How to validate a list of values from the response using RestAssured

Could someone please me understand how to validate a list of items from the response. Say the response looks something …

java automated-tests rest-assured rest-assured-jsonpath
How to send a multipart request with RestAssured?

I have @Controller with method with signature like this: @PostMapping @ResponseBody public ResponseEntity<Result> uploadFileAndReturnJson(@RequestParam("file") MultipartFile …

java spring multipartform-data multipart rest-assured
How to verify that array contains object with rest assured?

For example, I have JSON in response: [{"id":1,"name":"text"},{"id":2,"name":"text"}]} I want to verify if a response …

java arrays rest-assured hamcrest
Checking HTML document with REST Assured

I'm trying to use REST Assured to check some properties on an HTML document returned by my server. An SSCCE …

rest-assured
Automate Rest API test and integrate this with Continuous Integration(CI-Jenkins)

I found many similar questions related to this, but not the particular answer I am looking for. Actually my requirement …

rest jenkins playframework automated-tests rest-assured
how to handle Special character in query param value in Rest assured

I'm struggling with handling special character in query parameter value while working with Rest Assured. In url (as given below), …

java arrays json deserialization rest-assured
How to post complex XML using rest assured

Using rest-assured we can easily perform GET, POST and other methods. In the example below we are sending a POST …

java xml post rest-assured
jsonpath find all object(restassured)

This is my JSON : [ { "id": 9741962, "name": "getName", "isActive": true }, { "id": 1, "name": "New", "isActive": true } ] I want to get all the …

java rest-assured rest-assured-jsonpath
isEqualToComparingFieldByField is failing but isEqualToComparingFieldByFieldRecursively is passing

I am writing a test using rest-assured to test an API. I have the expected response stored as a String …

java rest-assured assertj
How to printout the URL that RestAssured trying to connect with to the web service?

This is very basic and simple question regarding Rest-assured framework. I have been trying to connect to weather webservice api …

java rest-assured