You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2010/01/19 12:34:01 UTC

DO NOT REPLY [Bug 48570] New: AjpSampler doesn't support query parameters (GET/POST)

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


DO NOT REPLY [Bug 48570] AjpSampler doesn't support query parameters (GET/POST)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48570

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Sebb <se...@apache.org> 2010-01-21 06:46:47 UTC ---
Thanks for the patch, applied to SVN:

URL: http://svn.apache.org/viewvc?rev=901727&view=rev
Log:
Bug 48570 - AjpSampler doesn't support query parameters (GET/POST)

Modified:
  
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
   jakarta/jmeter/trunk/xdocs/changes.xml

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