Next lets discuss hamcrest librabry.We have seen above that we can compare an actual result we got f ... Read More
Second way to post to rest is to create a JsonObject and put key value pairs in it. Then create a Js ... Read More
Simple request and respone example using rest assured. ``` package basics; import org.testng. ... Read More
Rest assured is free. And very popular. It just jar files and we can add to our project to test rest ... Read More
Example of a post request using rest assured ``` package CrudOperationExamples; import ... Read More
Second way to extra data from response is using Json extractor object. Here we make an object of ... Read More
Second method –Here courses is not a list but instead a map of key value pairs.So we create a Studen ... Read More
Better example for request and response in which we can send request in just one line. We can do ev ... Read More
If courses contains list of maps and each map object further contains a list of topic.So we have li ... Read More
We have seen earlier than we can log the entire req that we are sending to the server. But question ... Read More