It looks like in starting in JMeter 3.0, the Request tab of View Result Tree listener no longer display full content of HTTP request entity when sending a PUT. This feature was available in JMeter 2.9 and is very helpful to debug when entity is a composition of evaluated user variable values. I'm requesting for this feature to be added back to JMeter 3.0. Below is a snippet of what's shown on the Request tab of View Result Tree listener. PUT data: <actual file content, not shown here>
Created attachment 34255 [details] Add shortened PUT body to sampler result
If the PUT body is derived from a file, we could/should just include the file name instead
+1 for patch integration.
Date: Sat Sep 24 12:44:48 2016 New Revision: 1762120 URL: http://svn.apache.org/viewvc?rev=1762120&view=rev Log: Add shortened version of the PUT body to sampler result. Bugzilla Id: 60092 Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java jmeter/trunk/xdocs/usermanual/properties_reference.xml
Date: Sat Sep 24 12:52:29 2016 New Revision: 1762122 URL: http://svn.apache.org/viewvc?rev=1762122&view=rev Log: Followup to r1762120. Document changes. Bugzilla Id: 60092 Modified: jmeter/trunk/xdocs/changes.xml
When we include the filename, should we include it in POST request results, too? Would the filename alone be sufficient? The file content could be produced dynamically in the test plan, couldn't it? Where would you like to have the name placed (if we keep (part of) the content)? (I would place it in front, add a colon and put the clipped content behind it)
Please bring back the JSON body display as well. We dont always send files via put. We send JSON and we can no longer see it.
(In reply to Felix Schumacher from comment #6) > When we include the filename, should we include it in POST request results, > too? > > Would the filename alone be sufficient? The file content could be produced > dynamically in the test plan, couldn't it? > > Where would you like to have the name placed (if we keep (part of) the > content)? (I would place it in front, add a colon and put the clipped > content behind it) Hi Felix, I suggest we close this one as fixed and open a new bug for the remark you have here Regards
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4095