AW: [Webtest] sessionid

Luca Scheuring webtest@lists.canoo.com
Thu, 14 Oct 2004 13:50:54 +0200


hi sebastien

once you've extracted the session id (e.g. with storeregex), you can =
make
this dynamic property available outside the testSpec-tag by exporting it
with the extension step <exportproperty> (see
http://webtest-community.canoo.com/wiki/space/ExportProperty).

I had the case where I needed access to a property file created in a
seperate ant project file that was called from the ant file where I =
needed
the property. since ant properties are not inherited "upwards", I had to
store this property to disk (in a property file) using the optional ant =
task
<propertyfile>. maybe this could be done more elegant...

--luca

> -----Urspr=FCngliche Nachricht-----
> Von: webtest-admin@lists.canoo.com=20
> [mailto:webtest-admin@lists.canoo.com] Im Auftrag von S=E9bastien =
Mathy
> Gesendet: Donnerstag, 14. Oktober 2004 12:42
> An: webtest@lists.canoo.com
> Betreff: [Webtest] sessionid
>=20
> Hi,
> Another question,
> I would like to keep in different testspec my session alive.
> So I could invoke the url like this :=20
> http://myurl?SESSIONID=3D${sessionid}
> But how could I store sessionid in a global property?
>=20
> Thanks in advance
>=20
> --
> Sebastien Mathy
>=20
>=20