Hi,
In the meantime I've been able to use a regex extractor to get the
session data out of the page.  Of course, I need it in subsequest
requests.  Is there a 'Generic' rewriting modifier or something that
would allow me to easily add the extracted var to all requests ? 

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 21, 2006 5:48 AM
To: JMeter Users List
Subject: Re: HTTP URL rewriting modifier

On 20/09/06, Oliphant, Erich (Contr) (Mission Systems)
<[EMAIL PROTECTED]> wrote:
> Hi,
> Here are a few examples from the first page that contains the session
> id:
> --
> nav_openWindow(url + '?vsess=bkhdbkHfllasinma',windowname, wwidth, 
> wheight, fs);

It won't find that one.

> window.location="/cgi-bin/wspd_cgi.sh/WService=dts_DEVL11_ws_lroberts/
> do cprep/nu-cleanup.w/vsess=bkhdbkHfllasinma&calledby=nu-navigation";

Nor that.

> <input type="HIDDEN" name="vsess"      value="bkhdbkHfllasinma">

It should find that; I'll double-check that later.

> --
> The HTML and js on these pages is a little tortured, as you can see 
> the vsess is defined in serveral places.  Now I also noticed a few 
> lines like this:
> --
> function printDefault(vsess, vchnum ) {
>
> var cURL = 'nu-ch-print.w?vsess=' + escape(vsess) + '&p_vchnum=' +
> escape(vchnum) + '&atime=' + atime.getTime()
>
> y.name = "vsess";
>
> --
>
> Is is possible that one of these is confusing the regexes ?

See above - the extractor only looks for certain kinds of session
definition; it definitely does not interpret javascript, so it won't
pick up session ids that are generated locally.

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


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

Reply via email to