Current time: 10-21-2019, 04:51 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)