I have json and there is array of 'products'. { "data": [ { "contact_id": "...", "email": "...", "first_name": "...", "hash_campai
I tried multiple pattern , but still no success how can I create JSON Array object with nested JSON object similar like below { "deduction": [ { "id
I am using rest-assured and allureRestAssured for testing api , given().header("Content-Type", "application/json") .header("key", key()).filter(
//Get place { String getPlaceResponse = given().log().all().queryParam("key", "qaclick123").queryParam("place_id", placeId ) .when().get(
API responses currently we are working on are in xml format. We suspect our test cases in rest assured are failing because we are not really waiting for the res
When I run the script using web API automation rest assured framework, I am not getting the proper api response and below are the error are posted. at java.base
I'm using restassured library and at the below line i'm getting "java.lang.ExceptionInInitializerError" error caused by "Caused by: java.lang.reflect.Inaccessib
I want to get the value of status from my response. So that i can assert it. I'm using rest assured with java & serenity BDD. Response { "locationType":
I just want to POST json request(using restassured), for such json: { "userId": 1, "id": 111, "title":"test msg" "body": "this is test msg" } Im defining
I'm currently using rest assured and Json-unit to assert a local json file against the requested rest assured response. I currently have a before class method
I have test: @Test public void sixTest() { FlowerList flowerList = new FlowerList(); Specification.installSpec(Specification.requestSpec(),
I have task: "Check that each Color field has a color value (format string "#FFFFFF")". I have a solution: @Test public void sixTest() { Specification.insta
I have a Springboot application that is a REST API and I would like to start adding RESTAssured integration tests with JUnit 5. I also added folder structure to
I am executing below Rest Assured Program: io.restassured.RestAssured.baseURI ="http://a.b.c.d:9200/e/f"; Response responseNew=null; req
Trying to pass this JSON in the body of a get request in rest assured. Is creating a JSON object a way to go ? { "pharmacyListId": null, "pharmacyListNa
I have a situation where sometimes the response of an API is { "SuccessCode": "OPERATION_SUCCESS", "Message": "Operation completed successfully" } a