MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Host Mapping

WebPagetest Forums

Full Version: Host Mapping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am trying to perform a test with some host mapping setup but I am having some issues. Having searched the forums I think I should be using the Chromium command line switch host-rules but I am not entirely sure. For example the setup I am using is:

URL: http://www.example.com
Browser: Chrome Browser

Advanced Settings - Chrome Tab:
Command-line: --host-rules="MAP http://www.example.com http://www.otherexample.com"

Each time I try to run the test I receive the same error message:
"Invalid command-line option: "www.otherexample.com""

Have I missed something in syntax or similar in the above?
Is there another method I should be using to perform host mapping?

Any input would be greatly appreciated!

Thanks
Are you trying to access site "www.example.com" with the DNS of "www.otherexample.com"? If so, you can just use a scripted test by forcing the DNS of http://www.example.com to http://www.otherexample.com.

setDNSName http://www.example.com http://www.otherexample.com
navigate http://www.example.com
Reference URL's