Host Mapping
|
08-27-2015, 09:38 PM
Post: #1
|
|||
|
|||
Host Mapping
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 |
|||
10-20-2015, 07:02 AM
Post: #2
|
|||
|
|||
RE: Host Mapping
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 Follow me on twitter: @rakshay |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)