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

           Summary: AjpSampler doesn't support query parameters (GET/POST)
           Product: JMeter
           Version: 2.3.4
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: rainer.j...@kippdata.de


Created an attachment (id=24858)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24858)
Patch against trunk r900635

The AjpSampler allows to add query parameters in the GUI, but doesn't handle
them correctly.

The attached patch fixes:

- when using POST, the data was send as name=name=value instead of name=value
(getStringValue() already produces the final form, no need to prepend the name)

- when using POST, the posted data is not added to the HTTPSampleResult, so not
shown in the GUI (tree view etc.)

- when using GET, the URL including the query string is send as the URL,
leading to 404. Instead separate the query string as the appropriate AJP
request attribute 0x05

-- 
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: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to