[Webtest] way to retrieve current url?

Dierk Koenig webtest@lists.canoo.com
Sat, 14 Jun 2003 15:29:51 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C33289.CC6252D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

way to retrieve current url?Hi Bill,

Is there a way w/ webtest to retrieve the current url and store it for later
use?

No, you cannot unless you do some really dirty tricks
(like connecting to the webtest log file and cut from there with storeregex
:-))
  I'd like to visit a page, force the session to expire, and visit again
that page.

  cool. this is a very valuable test.

  I'm surprised that you do not know the url of that respective page.

  I think about spending an own step for this test. Any comments?

  cheers

  Mittie




------=_NextPart_000_0013_01C33289.CC6252D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>way to retrieve current url?</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Bill,</FONT></SPAN></DIV>
<DIV><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT size=3D2>Is there a way w/ webtest to retrieve the current =
url and=20
store it for later use?</FONT>&nbsp;<SPAN =
class=3D184084311-14062003><FONT=20
face=3DArial color=3D#0000ff size=3D2>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D184084311-14062003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =
size=3D2>No,=20
you cannot unless you do some really dirty tricks </FONT></SPAN></DIV>
<DIV><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =

size=3D2>(like</FONT>&nbsp;<FONT face=3DArial color=3D#0000ff =
size=3D2>connecting to the=20
webtest log file and cut from there with storeregex =
:-))</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <P><FONT size=3D2>I'd like to visit a page, force the session to =
expire, and=20
  visit again that page.</FONT>&nbsp;<SPAN =
class=3D184084311-14062003><FONT=20
  face=3DArial color=3D#0000ff size=3D2>&nbsp;</FONT></SPAN></P>
  <P><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =
size=3D2>cool.=20
  this is a very valuable test.</FONT></SPAN></P>
  <P><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =
size=3D2>I'm=20
  surprised that you do not know the url of that respective=20
  page.</FONT>&nbsp;</SPAN></P>
  <P><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
  think about spending an own step for this test. Any=20
comments?</FONT></SPAN></P>
  <P><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =

  size=3D2>cheers</FONT></SPAN></P>
  <P><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =

  size=3D2>Mittie</FONT></SPAN></P>
  <P><SPAN class=3D184084311-14062003><FONT face=3DArial color=3D#0000ff =

  size=3D2></FONT></SPAN>&nbsp;</P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0013_01C33289.CC6252D0--