The Wait operation in Apidog allows you to insert a delay (in milliseconds) into your request execution flow. This is essential for controlling timing and simulating real-world conditions.Common Use Cases#
1. Handling API Latency#
If an API operation takes time to propagate (e.g., creating a resource that isn't immediately searchable), use a Wait step to pause execution before verifying the result.2. Synchronizing Asynchronous Operations#
For workflows involving background jobs, database updates, or file uploads, a delay ensures the system has reached the desired state before the next step runs.3. Simulating User Behavior#
In performance testing or user simulation, adding pauses between requests mimics realistic user interaction times, providing more accurate performance metrics.How to Use#
1.
Add a Wait processor to your Pre Processors or Post Processors.
2.
Enter the duration in milliseconds (e.g., 1000 for 1 second).
3.
The request execution will pause for the specified duration at that step.
Modified atΒ 2026-01-14 09:10:00