Getting Started
Introduction
Installation
API Client
Overview
Make an API Request
Replay request from History
Import from cURL
Inspect Traffic
Overview
Filtering Traffic
Save Session
View Request/Response Details
HTTP Rules (Modify Traffic)
Overview
Redirect URL (Map Local, Map Remote)
Replace Strings (Switch Hosts, API Endpoints)
Modify Headers
Modify Request Body
Modify Response Body
Modify Query Params
Modify Cookies
Modify DOM/Inject scripts
Modify User Agents
Delay Request
Cancel Rule
Organizing Rules
Import/Export Rules from File
Pause/Resume Requestly
Rule Operators
Advance Targeting
Sharing Rules
Map Local
Map Remote
Pinning Rules
GraphQL Support
Edit and Replay
Import Setting from Charles Proxy
Test URL Condition
Mock Server
Overview
Create New Mock API
Test Mock API
Pre-Configured Mocks
File Server
Overview
Create New Mock File
Sessions
Overview
Delay Request
As a frontend developer or QA, Testing certain parts of web applications require you to simulate delay in one or more components of the web app. This can be achieved using Requestly Delay Rule.

- Source Condition: Source condition is where you set criteria for the rules. You can use
URL
, Host
or Path
with Regex
, Contains
, Wildcard
or Equals
to match the source request. Learn more about source conditions here.
- Delay Amount : The delay time (in milliseconds) that is applied to the request matching the source condition. For XHR/Fetch, max delay is 5000 ms & for other resources (JS, CSS, Images, etc), max delay is 10000 ms.
For Desktop app we don't have such limitation for the delay amount.
- Source Filters : You can define better targeting conditions and restrict rules to be applied on specific webpages (or domains), request types, request methods, or request payload. Learn more about source filters here.
Popular Use Cases
- Test the performance of your web app on a slower network conditions.
- Test the behaviour of your app when one or more APIs respond slowly (API Latency has gone up).
- Check if any race conditions exist when some resource X gets loaded after or before another resource Y.
- Test the impact of the slow loading of external resources impact on your app.
- Test loading experience in the app.
Further Readings
- You can refer this blog on delaying network requests for detailed explanation.
FAQ
- Why is maximum delay capped at 10000ms?