To update the Bootstrap URL on a number of pages, you can use Rewrite in Charles Proxy to quickly find and replace in all the locations you want.
Get Started
To get started download and install Charles Proxy. For install information see: https://success.ensighten.com/hc/en-us/articles/205313010
- Launch Charles Proxy
- Select the Proxy menu and click SSL Proxy Settings
- Click the checkbox to Enable SSL Proxying
- Click Add, enter * for Host and Port locations and click OK
You must install the Charles Proxy certificate on each browser you want to use for testing. For detailed instructions, see http://www.charlesproxy.com/documentation/using-charles/ssl-certificates/
Rewriting the Bootstrap
Use Charles to change the Space from name-of-space to another-space-for-testing.
- In Charles Proxy, select the Tools menu and click Rewrite.
- Click the checkbox next to Enable Rewrite.
- Click Add
- Enter a Name
- In the Locations section, click Add
- enter * for host and click OK. Using * is the easiest way to apply the rule and make sure you catch all the possibilities.
- enter * for host and click OK. Using * is the easiest way to apply the rule and make sure you catch all the possibilities.
- In the Rules section, click Add
- Select Body from the Type list.
- Select Request and Response
- Enter the Match Value: nexus.ensighten.com/name-of-account/name-of-space/Bootstrap.js
- Enter the Replace Value: nexus.ensighten.com/name-of-account/another-space-for-testing/Bootstrap.js
- Click OK
You can begin running tests in your new Manage space.
Comments
0 comments
Article is closed for comments.