I’m trying to override DNS while running a test. With my local Chrome, I can do that with the following command line:
[font=Courier]chrome.exe --host-rules=“MAP my.host.com 100.101.102.103” http://my.host.com/path[/font]
To do the same thing in webpagetest, I set “Command-line” (in the “Chrome” tab) to ‘–host-rules=“MAP my.host.com 100.101.102.103”’. However, I then get an error message:
Invalid command-line option: “100.101.102.103"”
Seems like the validation of command line parameters is not allowing spaces in parameters.
Is that a bug, or maybe an intentional protection against security problems?
Is there any other way to override DNS?