ZGY
  • Home
  • Blog

Postman Tests

A collection of 3 posts
Postman

What are Postman tests and how to write?

Postman's Tests are automatically executed scripts used to validate if request responses meet expectations. They are written in JavaScript and offer predefined assertion functions to check various aspects of responses.
Apr 21, 2025 3 min read
Postman

How to extract parameters from the request body in Postman Tests?

In Postman, using pm.request.body object makes it easy to extract parameters from the request body. Through example test scripts, you can parse the request body and extract parameters, such as extracting the value of a field named 'name'.
Dec 9, 2024 2 min read
Postman

How to extract parameters from the response body in Postman Tests?

In Postman, using JavaScript to write test scripts can extract parameters from the response body. By parsing the JSON-formatted response body, you can easily extract the required parameters and optionally store them in environment variables for use in other requests.
Dec 9, 2024 2 min read
Page 1 of 1
ZGY © 2025
△