Requestly on Stack Overflow
Requestly is a powerful web testing and debugging proxy that provides you with enormous debugging capabilities. Requestly has multiple features to offer which can be overwhelming to start with.
We understand this and have got you covered. In this section, you will find out what are some of the most popular problems and use cases where Requestly has come to the rescue. You can use this section to explore, relate and dive deeper into how Developers and QAs use Requestly to solve their problems.
Redirect Requests – Redirect a request URL (or matching pattern) to another URL.
- What does it mean when an HTTP request returns the status code 0?
- Debugging minified JavaScript function with commas in Chrome
- Debug cache-busted scripts in production
- Change a setting on CDN-hosted JS file without touching file
- Trick a browser into loading
- Override Javascript file in chrome
Modify Request and Response Headers – Add, Delete, Override Request & Response Headers. Can be used to remove X-Frame-Options, Content-Security-Policy, CORS Issues, etc.
- Prevent browser from downloading images
- Open a website in an iframe
- Can I run HTML files directly from GitHub, instead of just viewing their source?
Modify Responses – Test edge cases in your app by simulating API responses
- Modify HTTP responses from a Chrome extension
- Simulate fake 404,500 Status Code to check frontend app behaviour
- Changing a value of an index in a buffer array
- Is it possible to rewrite a status code with Charles Proxy?
- Change a setting on CDN-hosted JS file without touching file
Insert Custom Scripts – Allows you to automate, scrape & change webpage’s behaviour with little knowledge of JS & CSS.
- How to inject javascript code?
- Can we insert javascript into any webpage loaded in the browser
- How to skip ad after 5 seconds using the YouTube JS API?
- Run my Javascript code on every page on my browser, similar to how a chrome extension would
- Enter full screen automatically by inserting script in a webpage using Requestly
Use Requestly with Selenium – Selenium is widely used as a test automation framework for end-to-end testing of web applications. However, it can’t intercept and modify network requests. But now you can simulate network conditions, modify headers, redirect network requests – all these and much more with the help of our Selenium package.
- Modify Headers In Selenium test framework
- Network throttling with chrome and selenium
- Automatically test local javascript library on production page
- Setting request headers in selenium
Mock Server – Edit Content-Type, Status Code, and Body of the Response on our Server. Edit and Delete Mock API Responses without building an API. Add/Remove Headers as well
- Debugging minified JavaScript function with commas in Chrome
- Simulate fake 404,500 Status Code to check frontend app behaviour
- Chrome Extension – override .js file
- Intercept and use local files in http requests
Delay network Requests – Delay requests by specifying keywords or entire URL
- How to delay script/asset loading in Chrome Developer Tools
- Any way to throttle calls to a specific API in Chrome DevTools while leaving others unthrottled?
- How to delay script/asset loading in Chrome Developer Tools
Modify Query Params – Insert, Modify or Delete query parameters for URLs (or matching pattern)
If you have specific problems and looking to know how you can use Requestly, you can schedule a demo from here and we’ll love to help you out!