RESTful API Testing - Overview


Testsigma supports Restful APIs Testing. RESTful APIs allow you to access resources using uniform methods and protocols. This makes it easier for you to create and maintain applications. You can also create a REST API standalone testing project. While creating web or mobile application test cases, you can also include RESTful APIs in the test steps.


Prerequisites

You'll need to know how to create a test case and add RESTful API in the test steps.


Resources

We will use the following API Endpoints and JSON object for our examples:

https://jsonplaceholder.typicode.com/

https://jsonplaceholder.typicode.com/posts/

https://jsonplaceholder.typicode.com/?name=Joel&email=abcxyz@mail.com

{
"userId": 1,
"id": 1,
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
"body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"
}

These are provided by JSONPlaceholder, a free API Service available online for RESTful API testing purposes.