https://bz.apache.org/bugzilla/show_bug.cgi?id=61314

            Bug ID: 61314
           Summary: HTTP URL Re-writing Modifier doesn't replace existing
                    jsessionid in http sampler, but adds to the end
           Product: JMeter
           Version: 3.2
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 35149
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35149&action=edit
url_rewriting_testplan

HTTP URL Re-writing Modifier doesn't replace existing jsessionid in http
sampler, but add to the end:

http request:-------------------------------------

http://jmeterbook-berinle.rhcloud.com/urlRewrite/link3;jsessionid=657CF77A86183868CF30AC36321394B7;jsessionid=E258B23B7BA595741CBEB89FEEB03EFD

http request:-------------------------------------


OLD existing value: jsessionid=657CF77A86183868CF30AC36321394B7;
new value: jsessionid=E258B23B7BA595741CBEB89FEEB03EFD

Actual result:

http://jmeterbook-berinle.rhcloud.com/urlRewrite/link3;jsessionid=657CF77A86183868CF30AC36321394B7;jsessionid=E258B23B7BA595741CBEB89FEEB03EFD

Expected result:
If the request already has a value
(jsessionid=657CF77A86183868CF30AC36321394B7), it will be
replaced(;jsessionid=E258B23B7BA595741CBEB89FEEB03EFD)

http://jmeterbook-berinle.rhcloud.com/urlRewrite/link3;jsessionid=E258B23B7BA595741CBEB89FEEB03EFD

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to