Summary: | Using a delimiter to separate result-messages for JMS Subscriber | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Yaroslav <slavko_h> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.5.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Test plan showing usage
screenshot1 screenshot2 screenshot1 |
Description
Yaroslav
2011-10-18 20:47:18 UTC
Date: Tue Oct 25 21:10:15 2011 New Revision: 1188913 URL: http://svn.apache.org/viewvc?rev=1188913&view=rev Log: Bug 52052 - Using a delimiter to separate result-messages for JMS Subscriber Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSSubscriberGui.java jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java jakarta/jmeter/trunk/xdocs/changes.xml r1196526 it does not work for me; TC1: using "Separator" as a string ";" - two message are not separated by ";" TC2: using some "white" character, for instance "\t"(tab) - two messages are not separated by "tab"; I'm using "View Result Tree" for displaying the result. ER: "Separator" could be a string or "white-characters" or their combination; Pls provide brief usage-instruction how to use "white" characters. JMS Subscriber "Help" also has to be updated to provide "Separator" usage-instruction; Reopened Created attachment 27893 [details]
Test plan showing usage
Setting , or ; as separator works, see Attached Test plan (notice Number to aggregate is 2) But setting \r or \n is not possible, I just fixed it. Please attach test plan if you still have issue. Date: Thu Nov 3 21:26:16 2011 New Revision: 1197316 URL: http://svn.apache.org/viewvc?rev=1197316&view=rev Log: Bug 52052 - Using a delimiter to separate result-messages for JMS Subscriber Fix setting \t, \n , \r as separator Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java Created attachment 27921 [details]
screenshot1
Created attachment 27922 [details]
screenshot2
Created attachment 27923 [details]
screenshot1
r1197910 The fix still does not work. I've download the nightly build from http://people.apache.org/builds/jmeter/nightly/ See screenshot1 - ";" was used as a separator; See screenshot2 - two messages were not separated; ">" and "001" had to be separated; Reopened Thank you very much for your tests. You were using other sets of options that were not well handled. I close bug as fixed and will let you reopen it if you see other issues. Next time, please submit your Test Plan as JMX (instead of screenshot) so it's easier to see what's wrong. Regards Date: Thu Nov 10 21:50:38 2011 New Revision: 1200586 URL: http://svn.apache.org/viewvc?rev=1200586&view=rev Log: Bug 52052 - Using a delimiter to separate result-messages for JMS Subscriber There was an issue when following options were checked: - stopBetweenSamples - Read Response Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java r 1211656 The help page says: Separator used to separate messages when there is more than one (related to setting Number of samples to aggregate). Note that \n, \r, \t are accepted. AR1: the separator has been placed after each message; ER1: the separator should not be placed after the last message; AR2: if you have requested one message - the separator has been places after the message; ER2: no separator for one message; reopened Date: Sat Dec 10 22:21:13 2011 New Revision: 1212902 URL: http://svn.apache.org/viewvc?rev=1212902&view=rev Log: Bug 52052 - Using a delimiter to separate result-messages for JMS Subscriber ER1: the separator should not be placed after the last message; ER2: no separator for one message; Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2611 |