[Webtest] changing hosts and basepaths in the middle of a test

Healey, Thomas webtest@lists.canoo.com
Fri, 11 Apr 2003 08:35:50 -0400


Since the config can't be switched within a testspec, what you would
have to do is create two testspecs (if possible) that will acomplish
your goals.
Tom

-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com] On Behalf Of Scot Hale
Sent: Thursday, April 10, 2003 2:10 PM
To: webtest@lists.canoo.com
Subject: [Webtest] changing hosts and basepaths in the middle of a test


Hi All,

I am trying to test two websites that are related.  Say for example

host_A=3Dwww.a.com
basepathA=3Da

host_B=3Dwww.b.com
basepath=3Db

And there is a process that starts on one website, and ends on the
second. =20
Is there anyway to carry a test from one config to another, or are there
any=20
suggested work arounds?

For example http://www.a.com/a/somepage.html  links to=20
http://www.b.com/b/someotherpage.html.  And when I get to
someotherpage.html=20
there are relative paths that require the config for the B site to be=20
loaded.  I don't know how to do this in a single testSpec.

Any suggestions?



Scot Hale



_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. =20
http://join.msn.com/?page=3Dfeatures/virus