

As the name suggests, collections help you organize your workspace.Ĭollections offer features to collaborate with the team members, generate tests for your API, run the requests automatically, authorization config, pre-request scripts, and any variables you want to share among the collection’s requests. Postman’s API testing features are available for Personal, Private, and Public workspaces.Ī Postman collection consists of a group of HTTP requests. They are searchable and accessible for free.

There are three kinds of workspaces in Postman: The features include making requests, Inspecting responses, embedding global and Environment variables, and writing tests in Javascript, so without further ado, let’s start with some core concepts of Postman.Ī Postman workspace is where you can organize your API and team up with others in your organization.
SERVICENOW POSTMAN COLLECTION HOW TO
Postman offers many features, though in this article, we will talk about how to test your API. Use Postman Dynamic Variables to generate random data.Test API response headers using Postman.Postman test to check nested array value in response.Postman test to check nested field value in response.Postman test to check field value in response.Postman test to check status is not 404 or 500.Postman test to check status code is not 404.Postman test to check whether status is 200 or 201.Postman test to check whether status is 200 OK.This article will use Postman & Javascript for API testing. API testing is the process of verifying that your Application Programming Interface (API) is working correctly. Postman helps you build APIs by providing tools to capture, validate, and test requests and responses. Postman is a tool to help you develop APIs.
