maybe set up your 'hosts' file in your client machine
with your setup:
  http://en.wikipedia.org/wiki/Hosts_%28file%29

if you want to connect to myhost1.dk with IP
address 127.0.0.2, you will have to change your
'hosts' file to show this change.  you can do this
in your script.

ta, jack

On Fri, May 6, 2011 at 8:13 AM, Carsten Jantzen <carsten@jantzens.net> wrote:
Hi

I wanted to make a test script which can connect to the same ip
address but give different host names.
ex. connect to 127.0.0.1 with hostname myhost1.dk or 127.0.0.1 with
hostname myhost2.dk
The same script should also could test the same hostnames against a
different ip like:
ex. connect to 127.0.0.2 with hostname myhost1.dk or 127.0.0.2 with
hostname myhost2.dk
I want to make a test script which avoid the loadbalancer and go
directly to the host machine. This way I can make some good test cases
against a server after a deployment of new applications.

Regards

Carsten

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users