Postman Flashcards

๐Ÿ“ฎ Postman Flashcards
๐Ÿ” What is Postman?
Postman is an API testing tool that allows users to send requests and view responses easily.

๐Ÿ“ฆ What is a Postman collection?
A collection is a group of saved API requests that can be organized and executed together.

โš™๏ธ What are environment variables?
Environment variables store dynamic values (like base URLs or tokens) for use in requests.

๐Ÿงช How can you write tests in Postman?
Postman allows JavaScript-based test scripts to validate responses, run assertions, and set conditions.

๐Ÿ“ค What is a POST request used for?
A POST request is used to send data to a server, typically to create or update a resource.

๐Ÿ“„ What is the purpose of the Pre-request Script?
It allows you to run JavaScript before a request is sent โ€” useful for setting headers, tokens, etc.

๐Ÿ” How is authentication handled in Postman?
Postman supports various auth methods like Bearer Token, Basic Auth, OAuth 2.0, etc.

๐Ÿ“‚ What is a workspace?
A workspace is a shared or personal space where you can organize collections, environments, and APIs.

๐Ÿ“Š What is the Postman Monitor?
Monitors allow scheduled execution of collections to test APIs regularly and receive alerts.

๐Ÿงพ What is Newman?
Newman is a command-line companion for Postman that lets you run collections in CI/CD pipelines.

๐Ÿ” What are iterations in Postman tests?
Iterations allow running a request multiple times with different data from a CSV or JSON file.

๐Ÿงช What are assertions?
Assertions are test statements written in JavaScript to validate parts of a response (status, body, headers, etc.).