jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliphant, Erich \(Contr\) \(Mission Systems\)" <>
Subject RE: HTTP URL rewriting modifier
Date Wed, 20 Sep 2006 18:49:34 GMT
Here are a few examples from the first page that contains the session
nav_openWindow(url + '?vsess=bkhdbkHfllasinma',windowname, wwidth,
wheight, fs);


<input type="HIDDEN" name="vsess"      value="bkhdbkHfllasinma">
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() = "vsess";


Is is possible that one of these is confusing the regexes ?



-----Original Message-----
From: sebb [] 
Sent: Wednesday, September 20, 2006 1:37 PM
To: JMeter Users List
Subject: Re: HTTP URL rewriting modifier

On 19/09/06, Oliphant, Erich (Contr) (Mission Systems)
<> wrote:
> Hi I am trying to use the http url rewriting modifier in a load 
> scenario.  The "Session Argument Name" is returned by my application's

> pages in  a hidden form variable.  However the modifier doesn't seem 
> to 'see' it, it appends a blank session variable to the URL's even 
> after the pages with the session var are received.  The docs are a 
> little light about the specifics/limitations of this modifier.  Should

> it work under these circumstances ?

It uses regexes to find the session variable, and perhaps there is a
syntax that has not been allowed for.

Can you provide an example of the HTML that defines the session id?
Not the whole page, just a small chunk that includes the id, e.g.
something like:

<input name='sid' value='myId'>

> My test has everythign directly under the thread group.  The URL 
> Rewriting Example in 6.1 of the manual shows the modifier under a 
> Simple Controller.  Is this required/necessary?

No, it's not necessary.

In fact the description is wrong, because the modifier is *not* attached
to the Thread Group. In this case the modifier will only apply to the
samplers under the Simple Controller, i.e. not to the top-level Index
[I'll fix the docs]


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message