Hi - I'm having some pain trying to do something that should be simple.

I have a page with a number of URLs in it, of the form:
a href="/myquery.do;jsessionid=12345?param1=12345&param2=abcde&param3=foo"

I'm trying to simply follow one of these URLs in a new http request - but while I can grab the whole request into a regexp fairly easily, as soon as I substitute it into a HTTP Request (by putting "${MY_REGEXP_g1}" in the "Path" field) I have real pain - the escaped form of the ampersands ("&" is sent to the tested application, so it sees the parameters as "param1", "amp;param2", "amp;param3" and so on.

Does anyone have any suggestions for getting around this? Currently I've changed my regexp to extract each param as a separate group, but it's slow to build an expression this way, and a bit fragile if the application changes it's parameter order or the like.

- Korny

--
Kornelis Sietsma e-mail: korny at my surname dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to