HTTP Status Codes or Response Codes are grouped into five categories. 1×× Informational, 2×× Success, 3×× Redirection, 4×× Client Error, 5×× Server Error. This post contains the full list of HTTP status codes with a short description of the most… Read More »
How to send a POST request with REST-assured. HTML Forms use POST request to submit form data and in this tutorial, we use REST-assured to submit a form. A POST request has four elements: URL: This is the location of… Read More »
Karate is an opensource API testing tool developed by Peter Thomas from Intuit. Karate is built on top of HttpClient and Cucumber and has its own DSL to make API testing very easy. Although been around for almost a year, it has… Read More »
This post is a large collection of Software Testing Interview Questions and Answers. The list covers foundations of Software Testing, Technical Testing, Test Automation, API Testing, Agile Testing, Web Testing and Selenium WebDriver Interview Questions and Answers. You can click… Read More »
How to set HTTP headers in Karate? Karate is an API testing tool with a very comprehensive and easy to understand DSL. In this post, we show how to set multiple headers in the header part of a request. Examples… Read More »
Automated Testing of emails can be a bit daunting as the majority of email providers are not built for testing purposes. In the past, people have used Gmail and mailinator to create email addresses, send and read emails but they… Read More »
In this API Testing tutorial, we take a look at how to parse JSON response and extract information using the REST-assured library. When testing an API, you typically make a request to a resource, (e.g. via a GET or POST… Read More »
What is the difference between PUT and PATCH requests, and when should we use one over the other? PUT and PATCH are HTTP verbs and they both relate to updating a resource. The main difference between PUT and PATCH requests is the way the server processes the request to modify a resource identified by the request URI.
If you would like to get involved in Automated API Testing, but don’t have the programming background, then you might want to give Karate a go! Karate was released as an open-source tool by Intuit. The tool is designed to… Read More »
How to pass cookies from Selenium WebDriver to Rest-Assured? When you do automated testing at API and UI layer, there could be situations where you are doing both and that you need to pass properties from your API test to you UI test or vice versa. This tutorial shows how to pass cookies from Selenium to Rest-Assured.