Bug 53566 - Don't log partial responses to the jmeter log
Don't log partial responses to the jmeter log
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.7
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-07-18 19:23 UTC by Nicholas Jasieniecki
Modified: 2012-07-20 00:02 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Jasieniecki 2012-07-18 19:23:05 UTC
In the View Results Tree Listener, if the response message is too large, only some of the message is shown. The amount that is allowed is logged to both the UI, as well as the jmeter log. This has the result of massivly exploding the size of my jmeter.log file even though i'm going to use the UI to debug things.

It would be nice if we could disable the log.warn message via some config option, and just show the partial response in the UI.
Comment 1 Sebb 2012-07-18 20:17:03 UTC
Or perhaps just log the message once?
Comment 2 Nicholas Jasieniecki 2012-07-18 21:34:12 UTC
Right now every time i click on a different result in the tree it logs the message, so if i'm going through a set of results, the client pauses as it writes 200*1024 bytes (its configurable but thats default) to both the UI and the jmeter log.
Comment 3 Sebb 2012-07-18 23:09:13 UTC
Yes, that's what happens.

I wonder whether the code should even bother to log a message at all.
Not sure it adds anything useful.
Comment 4 Sebb 2012-07-20 00:02:28 UTC
URL: http://svn.apache.org/viewvc?rev=1363590&view=rev
Log:
Don't log partial responses to the jmeter log
Bugzilla Id: 53566

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.java
    jmeter/trunk/xdocs/changes.xml