Tag

Pre-request Script

0 views collected around this technical thread.

WeiLi Technology Team
WeiLi Technology Team
Nov 2, 2023 · Backend Development

Master Postman Pre-request Scripts: Automate Signing, Env Switching, and Auth

This guide explains how to use Postman's pre‑request and test scripts to automate request signing, switch between multiple environments, and handle JWT‑based authentication, providing step‑by‑step instructions, execution order details, and practical code snippets.

API TestingAuthenticationEnvironment Variables
0 likes · 5 min read
Master Postman Pre-request Scripts: Automate Signing, Env Switching, and Auth
macrozheng
macrozheng
Aug 25, 2021 · Backend Development

Master Postman: Hidden Features for Efficient API Testing and Automation

This article reveals powerful yet often overlooked Postman features—including environment variables, global and collection scopes, pre‑request scripts, test scripts, and token automation—demonstrating how to streamline API debugging across multiple environments, automate authentication, and manage variable lifecycles for more efficient development workflows.

API TestingEnvironment VariablesPostman
0 likes · 11 min read
Master Postman: Hidden Features for Efficient API Testing and Automation