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.

Rest-assured. How to check if not empty array is returned?

I have the following code which should test my RESTful API: given().baseUri("http://...").get("/categories/all") .then() .body( "results", …

java json rest rest-assured
How to assert based on body item with Rest Assured with JSON response?

How can I assert my properties inside the "description" array using the rest assured .body() method. Example: .body ("[0] .userType", equalTo (1)); // …

java rest rest-assured web-api-testing rest-assured-jsonpath
javax.net.ssl.SSLException: Certificate for <> doesn't match any of the subject alternative names: []

When I try to Hit the URL using Postman it works fine,by using my personal cert.But when I …

java ssl https rest-assured
How to get rest-assured log into something printable in a text file

I'm working into a method trying to change the default rest-assured log (which goes to the console) to a file …

log4j rest-assured
Empty respond body for post with rest assured

I am using restassured with junit4. In my test method i create a object in mongodb and when i run …

java json rest junit rest-assured
Post multipart file and JSON in Rest Assured

I need to send a video file and JSON object in Rest Assured post call. Structure is like the following: { "…

java json api rest-assured
How to setup time to wait for response in Rest-Assured?

Response takes a long time to come. How it is possible to wait for response time in rest-assured ?

response rest-assured time-wait
How to use REST assured?

I have never used JUnit or other testing frameworks. All i know is how to develop rest service. I recently …

rest-assured
RestFuse vs Rest Assured vs MockMVC Rest Service Unit Test Framework

I've been trying to find a simple all purpose unit test framework for Spring MVC based Rest Services I've written. …

rest spring-mvc rest-assured mockmvc restfuse
RestAssured - passing list as QueryParam

I have a REST-service that takes in a number of query-params, amongst other things a list of strings. I use …

java rest jersey rest-assured