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.

java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.testing.models.Account

I'm getting below error: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.testing.models.Account with below …

java jackson rest-assured
Rest-assured. Is it possible to extract value from request json?

I'm getting response this way: Response response = expect().statusCode(200).given().body(requestBody).contentType("application/json") .when().post("/admin"); String responseBody = …

java json rest rest-assured
How to pass parameters to Rest-Assured

Can someone help me in this scenario: When I invoke this service, http://restcountries.eu/rest/v1/, I get couple …

java rest-assured
How to make HTTPS GET call with certificate in Rest-Assured java

How can I make a GET call using Rest-Assured in java to a endpoint which requires certificate. I have certificate …

java certificate rest-assured
How to test Rest API which require authentication using Rest assured

I want to test a Rest API which require authentication, before getting the Json response. FOr exa. If i want …

java json rest testng rest-assured
How to use mockito for testing Database connection

I am using Junit to test my jersey api. I want to test DAO without a database. I tried using …

junit jersey mockito jersey-client rest-assured
How do we pass multiple headers in rest assured?

I am new to rest-assured and Java, I am trying to do a very basic test of checking the response …

http-headers rest-assured
Tool for testing RESTful Web services

I am trying to evaluate the right tool to test RESTful Web services and eventually automate the same for our …

web-services rest soapui rest-client rest-assured
Rest Assured - deserialize Response JSON as List<POJO>

I have a POJO Artwork. I'm retrieving a List of those objects from a RESTful webservice in the HTTP response …

java json generics rest-assured
setting content type in rest assured

I'm trying to invoke a rest call using rest assured. My API accepts, "application/json" as content type and I …

java rest-assured