Extract value from Json using Rest Assured API Testing

preview_player
Показать описание
In this video we will know how to extract values from JSON using Rest Assured API testing. Rest Assured is amazing API to do API mechanization. Rest Assured Provides client full control how to actualize and use it for testing.
When testing an API, we typically make a request to a resource, (e.g. via a GET or POST request). The server comes back with a response and then we do some assertions on the response.

If you have any questions you can ask us as we have live chat on our website
Рекомендации по теме
Комментарии
Автор

how to retrieve each field value from response body it is in array list

sekharbabu
Автор

if the course having an array of multiple objects, then how could I get a value from that object?

sym-john
Автор

you have created multiple request to extract values but how to extract multiple values from single response ?

decisiveviz
Автор

hi I am trying to extract value but my eclipse is not taking extract(). It is showing it as invalid
Instead it is suggesting me to use expect() instead.

rajatagarwal
Автор

I am getting this error. Any idea why?
java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.ArrayList

bijo
Автор

what is get("\99") mean? confused

HenryLeu
Автор

Hi, nice videopls upload more .i have a doubt. I have 5 module, I want to change my email id and role while onboard, so how pass the values dynamicially. And also using the response id want to transfer the money from other levels, is it possible for one time run.

pratheepkumar