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 2008/11/11 00:50:51 UTC

DO NOT REPLY [Bug 46178] New: Ask newline feature for request parameter value

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

           Summary: Ask newline feature for request parameter value
           Product: JMeter
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: wuyg719@gmail.com


Currently Jmeter just allows to input in a line in the http request parameter
value, 
but Ajax becomes popular and need send a XML data to the server.

Multi-line input is convenient in this case. I know "Comments" of "Thread
Group" allow multi-line input with default one line there.


-- 
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 46178] Ask newline feature for request parameter value

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





--- Comment #5 from Sonam Chauhan <so...@ce.com.au>  2009-07-07 21:15:03 PST ---
Its pretty frustrating to paste a multiline string into the HTTP Sampler
parameters section (Under 'Send Parameters With the Request'), and see JMeter
flatten the multi-line text into a single line. This not only indicates JMeter
sends 'unfaithful' data to the system under test (single-line instead of
multi-line), maintaining the single-line test data is difficult.

For instance, we may be POST-ing two XML documents:
-----------------
Name: Doc1

Value: 
<Doc1>
  <DocDetails1>XXX</DocDetails1>
</Doc1>
-----------------
Name: Doc2

Value: 
<Doc2>
  <DocDetails2>ZZZ</DocDetails2>
</Doc2>
-----------------

Currently JMeter flattens the Doc1 and Doc2 value entries to: 
 <Doc1>  <DocDetails1>XXX</DocDetails1></Doc1>
 <Doc2>  <DocDetails2>ZZZ</DocDetails2></Doc2>

-- 
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 46178] Ask newline feature for request parameter value

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





--- Comment #2 from Justin <wu...@gmail.com>  2008-11-11 08:00:20 PST ---
Thanks for reply.

I totally knew that XML does not actually require new lines between elements.
I just said it is not convenient for input xml element.  I wish it can be like
"Comments" of "Thread Group" which allow multi-line input with default one line
there.  


-- 
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 46178] Ask newline feature for request parameter value

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





--- Comment #4 from Justin <wu...@gmail.com>  2008-11-11 19:23:39 PST ---
Thanks a lot. 

I have replaced "Http request sampler" with SOAP/XML-RPC request sampler. 

It is much better!!  


-- 
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 46178] Ask newline feature for request parameter value

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





--- Comment #1 from Sebb <se...@apache.org>  2008-11-10 16:22:39 PST ---
XML does not actually require new lines between elements.

However it is sometimes useful to be able to include new-lines in parameter
values.

This capability has already been added to the current (unreleased) code - there
is a __char() function which can be used to insert any Unicode character value.

Also, the SOAP/XML-RPC sampler can be used to send arbitrary POST bodies.


-- 
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 46178] Ask newline feature for request parameter value

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

Justin <wu...@gmail.com> changed:

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

-- 
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 46178] Ask newline feature for request parameter value

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

-- 
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 46178] Ask newline feature for request parameter value

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





--- Comment #3 from Sebb <se...@apache.org>  2008-11-11 11:40:21 PST ---
You can always enter the information in the comments box, and then cut and
paste it into the value.

It is not trivial to support multiline input within a table.

Patches welcome.


-- 
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