Hi,
Here are a few examples from the first page that contains the session
id:
--
nav_openWindow(url + '?vsess=bkhdbkHfllasinma',windowname, wwidth,
wheight, fs);
window.location="/cgi-bin/wspd_cgi.sh/WService=dts_DEVL11_ws_lroberts/do
cprep/nu-cleanup.w/vsess=bkhdbkHfllasinma&calledby=nu-navigation";
<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()
y.name = "vsess";
--
Is is possible that one of these is confusing the regexes ?
Thanks!
-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
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)
<[EMAIL PROTECTED]> 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
page.
[I'll fix the docs]
See
http://jakarta.apache.org/jmeter/usermanual/build-test-plan.html#scoping
_rules
---------------------------------------------------------------------
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]