Key Elements for Developing an Effective API Security Testing Strategy
APIs (Application Programming Interfaces) have become the backbone of modern software development, enabling seamless communication and integration between different systems. However, with the increased reliance on APIs, ensuring their security has become paramount.
Read more
Read moreUsing REST-assured to Test OAuth 2.0 flow Examples
OAuth 2.0 provides four different flows, but the main goal of each flow is to obtain an access_token and use it to access protected resources.
Read more
Read moreREST-assured Examples: GET, POST, PUT, PATCH, DELETE
This post explains how to send API HTTP Requests using REST-assured library. Examples cover GET
, POST
, PUT
, PATCH
and DELETE
requests.
Read more
Read moreBroken Object Level Authorization With Examples
In this post we explore and discuss Broken Object Level Authorization failure.
Read more
Read moreHow to Use CURL to Send API Requests
In this article, we’re going to discuss how to use curl
to interact with RESTful APIs. curl
is a command-line utility that can be used to send requests to an API.
Read more
Read moreGetting Started With API Testing - What You Should Know
If you are starting on API testing and API test automation, what are the things that you should know? If you’ve done UI automation (Selenium/Cypress) for a while, you would find that API testing is a little bit daunting to begin with.
Read more
Read moreHow to Add Cucumber Layer on Top of REST-assured API Tests
This post provides a step-by-step guide on how to add a cucumber layer on top of api tests written in REST-assured.
Read more
Read moreHow to Send Basic Authentication Header in REST-assured
When you are doing API testing, sometimes the APIs or endpoints are protected. This means you need to be authenticated and authorized to perform certain actions.
Read more
Read moreHow to Parse JSON Response with REST-assured
In this API Testing tutorial, we take a look at how to parse JSON response and extract information using the REST-assured library.
Read more
Read moreHow to Submit Form Data With REST-assured Post Request
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.
Read more
Read moreHTTP Status Codes With Explanations
HTTP Status Codes or Response Codes are grouped into five categories. 1×× Informational, 2×× Success, 3×× Redirection, 4×× Client Error, 5×× Server Error.
Read more
Read moreHTTP Basics for Software Testers
In this article, we’ll explain some of the most common HTTP terminologies and their meanings. This knowledge is especially useful when testing APIs.
Read more
Read moreKarate API Testing Tool Cheat Sheet
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 matured very quickly and has all the capabilities expected from an API testing tool.
Read more
Read moreHow to Set Multiple Headers in HTTP Request With Karate
How to set HTTP headers in Karate?
Read more
Read moreDifference Between PUT and PATCH Requests
What is the main difference between PUT
and PATCH
requests, and when should we use one over the other?
Read more
Read moreAutomated API Testing Made Easy With Karate
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!
Read more
Read moreHow To Pass Cookies From Selenium WebDriver To Rest-Assured
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.
Read more
Read more