https://issues.apache.org/bugzilla/show_bug.cgi?id=44807

           Summary: Backslashes included in sessionid when using
                    URLRewritingModifier
           Product: JMeter
           Version: 2.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21816)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21816)
Patch to fix the mismatching session id

Hello,

When trying to load-test an AJAX heavy web application I ran into the following
error:

At some point during my test plan my sessionid was replaced by the sessionid
followed by a backslash.

After a bit of digging I found out that this occurred when there was JavaScript
of the following type in the page:

  sessionidvar = \'<sessionidvalue>\'; (for being used in an XMLHttpRequest)

I just added the backslash to the "terminating" characters for a normal
sessionid (as I don't believe that it would be part of a sessionid anyway), and
it worked just fine.

I include the patch to URLRewritingModified.java in here.

Regards,
Jens


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to