> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt. # Test APIs with Postman > Learn how to use Postman. Search the docs and support resources! ## Docs - [Test APIs and write scripts in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/tests-and-scripts.md): Overview of testing APIs and writing scripts in Postman. - [Use scripts to add logic and tests to Postman requests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/intro-to-scripts.md): You can use the Postman runtime to write scripts that add dynamic behavior to requests and collections. - [Write pre-request scripts to add dynamic behavior in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/pre-request-scripts.md) - [Write scripts to test API response data in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/test-scripts.md): Write post-response scripts that run JavaScript to assert on API response data. - [Import packages into Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/packages/overview.md) - [Add internal scripts to the Package Library in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/packages/package-library.md) - [Import packages from external registries in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/packages/external-package-registries.md) - [Postman test script examples](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/test-examples.md): Depending on your test logic and how you want to get the results, there are various ways to structure the test assertions in a test script. - [Use dynamic variables to return randomly generated data](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/variables-list.md) - [Postman Sandbox API reference](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/overview.md) - [Reference variables in Postman scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-variables.md) - [Reference vault secrets in Postman scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-vault.md) - [Access cookies in Postman scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-cookies.md) - [Reference Postman requests in scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-request.md) - [Reference Postman responses in scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-response.md) - [Use scripts to send requests in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-send-request.md) - [Script Postman Visualizations](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-visualizer.md) - [Writing tests and assertions in scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-test-expect.md) - [Import packages into your scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-require.md) - [Use scripts in collection runs](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-execution.md) - [Reference message data in scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-message.md) - [Reference request metadata in scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-info.md) - [Reference requests and examples in mocks](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-mock.md) - [Manage and use datasets in scripts](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-datasets.md) - [Persist state across requests in mocks](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/postman-sandbox-reference/pm-state.md) - [Troubleshoot common test errors](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/write-scripts/troubleshoot-tests.md): When you encounter errors or unexpected behavior in your post-response scripts, the Postman Console can help you to identify the source. - [Test APIs with datasets in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/datasets/overview.md): Datasets enable you to manage and reuse data across your API workflows. - [Create datasets in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/datasets/create-datasets.md) - [Manage datasets in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/datasets/manage-datasets.md) - [Use datasets in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/datasets/use-datasets.md) - [Query datasets with SQL in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/datasets/example-dataset-views.md) - [Query datasets from scripts and mocks in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/datasets/query-datasets-in-scripts.md) - [Test API functionality and performance in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-apis/test-apis.md): Test API functionality and performance: integration, end-to-end, regression and performance testing. - [Test API integrations and data flow in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-apis/integration-testing.md) - [Test end-to-end API workflows in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-apis/end-to-end-testing.md) - [Test your APIs for regressions in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-apis/regression-testing.md) - [Test your API's performance in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-apis/performance-testing.md) - [Run and automate API tests in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/run-tests/run-tests.md): Run API tests manually, on a schedule, with monitors or in CI/CD. - [Run API tests manually in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/run-tests/run-tests-manually.md) - [Run API tests on a schedule in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/run-tests/run-tests-on-schedule.md) - [Run API tests in your CI/CD pipeline using Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/run-tests/run-tests-with-ci-cd.md): Run Postman API tests in a CI/CD pipeline. - [Run API tests using Postman Monitors](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/run-tests/test-with-monitors.md) - [Application Inventory overview](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-applications/overview.md) - [Integrate your test suite with the Application Inventory](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-applications/test.md) - [Application Inventory FAQs](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/test-applications/application-testing-faqs.md) - [Test your API functionality](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/running-collections-overview.md) - [Test your API using the Collection Runner](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/intro-to-collection-runs.md): Send some or all of the API requests in a Postman Collection using the Collection Runner. - [Automate collection runs on a schedule](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/scheduling-collection-runs.md) - [View scheduled collection runs in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/viewing-scheduled-collection-runs.md) - [Run a collection with a mock](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/run-collection-with-mock.md) - [Automate collection runs using Postman Monitors](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/scheduling-collection-runs-monitors.md) - [Trigger collection runs using webhooks](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/collection-webhooks.md) - [Customize request order in a collection run](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/building-workflows.md) - [Test data for collection runs](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/test-data/overview.md) - [Run collections using imported data](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/test-data/working-with-data-files.md) - [Use a dataset with a collection run](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/running-collections/test-data/collection-run-datasets.md) - [Simulate user traffic to test your API performance](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/testing-api-performance.md): Test the performance of your APIs with Postman. - [Configure and run performance tests in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/performance-test-configuration.md): Use the Collection Runner to test the performance of your API with the same requests and collections you use for functional API tests. - [View metrics for performance tests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/performance-test-metrics.md) - [View failed test assertions for performance tests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/test-assertions/overview.md): The Tests tab in your performance test results shows how your test assertions behave as load increases. - [View test assertion failure trends in performance tests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/test-assertions/performance-test-failures.md) - [View test assertions by virtual user load in performance tests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/test-assertions/performance-test-virtual-user-load.md) - [View error details for performance tests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/performance-test-errors.md) - [View run timeline in performance tests](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/performance-test-timeline.md) - [Test data overview](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/test-data/overview.md) - [Use a data file to simulate virtual users](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/test-data/performance-test-data-files.md) - [Use a dataset to simulate virtual users](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/test-data/performance-test-dataset.md) - [Troubleshoot performance tests in Postman](https://learning.postman.com/latest-v-12/docs/tests-and-scripts/performance-testing/troubleshoot-performance-tests.md) - [Monitor health and performance of your APIs in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/intro-monitors.md): Postman Monitors enable you to continuously check the health and performance of your APIs. - [Set up a monitor in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/setting-up-monitor.md): Create a monitor to continuously check your API's health, validate responses, and run tests for critical workflows. - [Test data for monitors](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/test-data/overview.md): Provide test data for monitors to run collections with different sets of values. - [Use a data file with a monitor](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/test-data/monitors-data-files.md) - [Use a dataset with a monitor](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/test-data/monitors-datasets.md) - [View monitor results](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/viewing-monitor-results.md): Stay up to date on what's happening across all monitors in your workspace. - [Share API health using monitor reports in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/monitor-reports/overview.md) - [Publish monitor reports in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/monitor-reports/publish-monitor-reports.md) - [Update monitor reports in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/monitor-reports/update-monitor-reports.md) - [Manage monitor usage in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/monitor-usage.md): How monitor runs count against the resources included in your plan. - [Monitor internal APIs with runners](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/overview.md): Run monitors against internal APIs with runners. - [Configure runners for internal APIs](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/configure-a-runner.md) - [Set up a runner in your restricted network](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/set-up-a-runner-in-your-network.md) - [Set up a runner to use a proxy server](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/proxy-server/overview.md) - [Set up a runner to use a proxy server](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/proxy-server/runners-proxy-server.md) - [Start a runner with the built-in proxy server](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/proxy-server/use-built-in-proxy-server.md) - [Manage runners for internal APIs](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/manage-runners.md) - [Scale runners in your restricted network](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/scale-runners.md) - [Troubleshoot runners in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/runners/troubleshoot-runners.md) - [Configure Postman Monitors to run from static IPs](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/using-static-IPs-to-monitor.md): Run monitors from static IP addresses. - [Troubleshoot monitors in Postman](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/troubleshooting-monitors.md): Steps to diagnose and fix problems with a monitor. - [Postman Monitors frequently asked questions](https://learning.postman.com/latest-v-12/docs/monitoring-your-api/faqs-monitors.md) - [Simulate your API in Postman with a mock server](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/overview.md): Postman lets you simulate your API without a real backend using mocks and mock servers. - [Build API mocks with JavaScript](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/local-mock-servers.md): How to use mocks, a code-based API simulator you build with custom JavaScript request handlers. - [Deploy a mock server](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/set-up-mock-servers.md): Create a mock server in Postman to simulate a real API server that's always available to handle requests. - [Make calls to mock servers](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/mock-server-calls.md) - [Generate dynamic mock server responses with variables](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/create-dynamic-responses.md): Return dynamic mock responses using variables. Applies to mock servers created from a collection. - [How a Postman mock server matches requests to saved examples](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/matching-algorithm.md) - [Learn how to use mock servers with tutorials](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/tutorials/overview.md) - [Mock APIs with response examples](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/tutorials/mock-with-examples.md) - [Create and use a mock server using the Postman API](https://learning.postman.com/latest-v-12/docs/design-apis/mock-apis/tutorials/mock-with-api.md) - [Simulate API conditions with Postman Simulator](https://learning.postman.com/latest-v-12/docs/design-apis/simulate-conditions/overview.md): With Postman Simulator, you can create simulations to test how your service behaves under real-world conditions like latency, errors, and rate limits. - [Create a simulation in Postman Simulator](https://learning.postman.com/latest-v-12/docs/design-apis/simulate-conditions/create-a-simulation.md) - [Apply mock scenarios to a Postman simulation](https://learning.postman.com/latest-v-12/docs/design-apis/simulate-conditions/apply-scenarios-to-a-simulation.md) - [Start a simulation in Postman Simulator](https://learning.postman.com/latest-v-12/docs/design-apis/simulate-conditions/start-a-simulation.md) - [View, edit, or update a Postman simulation](https://learning.postman.com/latest-v-12/docs/design-apis/simulate-conditions/view-edit-or-update-a-simulation.md)