Authentication and Authorization in REST WebServices Using REST Sharp

Authentication and Authorization in REST WebServices are two very important concepts in the context of REST API. Majority of the time you will be hitting REST API’s which are secured. By secure we mean that the API’s which require you to provide identification. Identification can be provided in the form of Username and a Password Authentication tokens Secret keys…

Deserialize Json Response

Deserialize Json Response This tutorial will talk about a very interesting and helpful technique to read Body from a Response (Deserialize Json Response). This technique is called Deserialization of Response. Serialization and Deserialization are programming techniques where we convert Objects to Byte Streams and from Byte Streams back to Objects. Before we start, it is very important that you go through the previous set of Tutorials. You can take…

POST Request using Rest Sharp

Till now we have learnt about how to make a GET Request using Rest-Sharp.We have also learnt how to read different components of a HTTP Response(Headers, Body and Status). If you have not already read previous tutorials, please take a look at the list of tutorials here: Rest API testing  using Rest-Sharp POST Request using Rest Sharp During this…

Validate Response Header using Rest Sharp

Previous two tutorials covers How to make a simple GET request and How to validate Response Status Code from Weather Web Service. It is suggested to go through the above tutorials first before moving with this tutorial which covers How to Validate Response Header using Rest Sharp. Validate Response Header using Rest Sharp Every response that is received from a…

RestSharp Tutorial

RestSharpConfigure Visual Studio project with RestSharpREST API Test using RestSharpValidate Response Status using RestSharp This is a series of RestSharp Tutorial which is one of the most used library for REST API Automation Testing. RestSharp is a c# based library that is used to test RESTful Web Services. This library behaves like a headless Client to access REST…