Map Local

Use the Map Local feature in Requestly to instantly test local file changes by serving them as live responses for intercepted requests.


The Map Local feature enables you to serve any local file as the response for an intercepted request in real-time. This is particularly useful for testing scenarios, as you can make changes to the file locally and observe the results instantly, without needing to deploy the changes to the server.

This feature is only available in the Requestly Desktop App.

Why Use Map Local?

  • Testing Offline or Unavailable Resources: Serve local HTML, CSS, JavaScript, or other static files to mimic unavailable online resources.

  • Testing Local Changes in Production: Load local changes (e.g., CSS, JavaScript, or assets) directly into production or staging environments, saving deployment effort and time.

How to Create a Map Local

Utilize a Redirect rule to map a request to a local file, allowing the file to be served as the response.

Step 1: Create a Redirect Rule

Learn to create Redirect Rule.

Step 2: Choose the Local File

Select Local File under Redirect to. Select the local file on your machine that you want to serve as the response. This file will replace the server's response for requests matching the source condition.

Step 3: Save and Activate the Rule

Once you are satisfied with your configuration, click Save to store the rule. After saving, make sure to toggle the rule ON to activate it. This will apply the rule and ensure it works as expected.

Requestly serves the local file in real-time. Any changes made to the file are immediately reflected in the responses, eliminating the need to update the rule.

Updated on