SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Aug 30, 2022RestAssured#1 - Introduction To APIWhat is an API? API stands for an application programming interface. It is a set of functions that allows applications to access data and interact with external software components, and operating systems. An API is a software-to-software interface th...Discuss·1 like·44 readsAPI Testing | Rest AssuredAPI TESTING
Akshay Thakurfortheaksact.hashnode.net·Dec 20, 2022The Year of Rocket2022 will remain a watershed year in my career as a Software Developer. Although I had begun working as a Java developer in 2020, it was in 2022 that I truly embraced software development as a field and convinced myself that this indeed was my callin...Discuss·1 like·101 readslearning
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Aug 30, 2022RestAssured#3-Why automate Webservices/REST API?Before diving into what and how to test REST API. In this article first, let's see why we should bother to test/automate REST API at all. Traditionally most of the automation effort goes into writing automation scripts for UI. We know we should autom...Discuss·26 readsAPI Testing | Rest AssuredAPI TESTING
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Apr 8, 2023RestAssured #13 - Converting response payload in JSON to POJO using De-SerializationUsing de-serialization to convert JSON to POJO In this section, we are going to see how to convert a response in json to POJO using De-serialization. To get a response in json using GET request will use this endpoint https://reqres.in/api/users which...Discuss·27 readsAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Apr 1, 2023RestAssured #12 - Converting request payload to JSON using POJO with SerializationWhat are serialization and deserialization? Serialization is translating a data structure or object state into a format that can be stored or transmitted and reconstructed later. The opposite operation, extracting a data structure from a series of b...DiscussAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Mar 25, 2023RestAssured #11 - How to authenticate REST requestIntroduction To understand how to authenticate users in REST, we will use a private end-point which requires an authenticated user to access this end-point. For example, I am using this endpoint to create crocodiles created by a given user. Endpoint ...Discuss·32 readsAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Feb 25, 2023RestAssured #10 - Automating POST Request (User Registration API) - Part 2Introduction In this article, we are going to see the below concepts with examples - Response Header validation How to enable logs for request and response Response Header validation Headers are name and value pairs. To validate the header in Res...DiscussAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Feb 11, 2023Rest Assured #9 - Automating POST Request (User Registration API)API Details Endpoint - https://test-api.k6.io/user/register/ HTTP Method Allowed - POST, OPTIONS Header - Content-Type: application/json Request Body Schema { "name": "User Create Api", "description": "", "renders": [ "application...Discuss·31 readsAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Jan 28, 2023RestAssured #8 - Introduction to Rest AssuredIntroduction to Rest Assured REST-Assured is an open-source Java library that simplifies the testing of RESTful web services. It is highly influenced by testing techniques used in dynamic languages such as Ruby and Groovy. REST-Assured wraps the func...Discuss·47 readsAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Jan 21, 2023RestAssured #7 - API Testing ScenariosIntroduction API testing should be done thoroughly since it impacts the overall application, both the front end and the back end. In the event of poor API testing, the back end will have garbage data, which is not useful. If the response to the user ...Discuss·26 readsAPI Testing | Rest AssuredRest Assured
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Jan 20, 2023RestAssured #6 - AuthenticationAPI authentication is the process of verifying the identity of a user or a system that is making a request to an API. It is used to ensure that only authorized users or systems are able to access the API and its resources. Authentication is a way to ...Discuss·26 readsAPI Testing | Rest AssuredRest Assured
Akshay Thakurfortheaksact.hashnode.net·Dec 20, 2022The Year of Rocket2022 will remain a watershed year in my career as a Software Developer. Although I had begun working as a Java developer in 2020, it was in 2022 that I truly embraced software development as a field and convinced myself that this indeed was my callin...Discuss·1 like·101 readslearning
SUBODH SINGHforsubodh's blogsubodhsingh.hashnode.net·Aug 30, 2022RestAssured#3-Why automate Webservices/REST API?Before diving into what and how to test REST API. In this article first, let's see why we should bother to test/automate REST API at all. Traditionally most of the automation effort goes into writing automation scripts for UI. We know we should autom...Discuss·26 readsAPI Testing | Rest AssuredAPI TESTING