- Apidog Learning Center
- Get started
- Introduce Apidog
- Basic concepts in Apidog
- Navigating Apidog
- Quick Start
- Migration
- Design APIs
- Develop and Debug APIs
- Overview
- Generate requests
- Send requests
- Endpoint cases
- Dynamic values
- Validate responses
- Design-first Mode & Request-first Mode
- Generate code
- Environments & variables
- Vault secrets
- Pre/Post processors
- Overview
- Assertion
- Extract variable
- Wait
- Database operations
- Using scripts
- Dynamic values Modules
- Mock API data
- Automated tests
- Publish API Docs
- Send requests
- Branches
- Apidog MCP Server
- Best practices
- Administration
- Billing
- Data & Security
- Add-ons
- Account & preferences
- References
- Apidog Europe
- Support Center
Pre processor scripts
Example#

{{timestamp}}
. When the request is sent, the preprocessor script will be executed, the value of the environment variable timestamp will be set and replaced with the current timestamp
.
TIP
The preprocessor script is written in JavaScript and has exactly the same syntax as the postprocessor script. However, there is no
pm.response
object.Modified atΒ 2024-07-22 05:45:53