In this post, we will see how to resolve Unable to pass raw JSON request body with response error “The browser (or proxy) sent a request that this server could not understand” Question: I am trying to make a GET ...

In this post, we will see how to resolve How do i extract the SOAP XML Response Tag and Validate it in Rest Assured using TestNG Question: This is my Code : Output of My Code I want the Test ...

In this post, we will see how to resolve Getting an error Exception in thread “main” java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache Question: getting an error while executing the Rest Assured program Code Maven Dependency Best Answer: Add this dependency ...

In this post, we will see how to resolve When pass the form parameters to the request in REST Assured didn’t get the expected response Question: I need to create REST Assured api code using java for the below api ...

In this post, we will see how to resolve How to implement JSON Path with conditional value in RestAssured(instead of array index using a value) Question: How to implement JSON Path with conditional value in RestAssured(instead of array index using ...

In this post, we will see how to resolve Wait for api response, if timout return null? Question: The awaitility is from maven I want a way for if the timeout expires, will not be thrown an exception (do not ...

Question: Can anyone help me because i really don’t know how to resolve my issue: I have just simple GET request with such Array in response body: I’d like to just send a GET request by using Rest Assured with ...

Question: We have a restAssured GET call: Now there’s new end-point which accepts multiple path parms like: [Here Survey_ids could be 1 or many] So, how could I handle this in my code? I was thinking to implement something like ...

Question: I have json and there is array of ‘products’. I would like to get values of fields ‘default_term’ and ‘max_available_loan_amount’ only for product with code 2. I use restassured I’ve tried but this code returns list with only one ...

Question: I tried using @Test(invocationCount = n), but it runs only that method multiple times, I want to run all the methods once and then run the test second time Answer: This is TestNG question and I will use a ...