You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/10/26 02:41:42 UTC
[Bug 62856] New: JMS Publisher sampler forces Byte Messages in Text
Message textfield via XStream
https://bz.apache.org/bugzilla/show_bug.cgi?id=62856
Bug ID: 62856
Summary: JMS Publisher sampler forces Byte Messages in Text
Message textfield via XStream
Product: JMeter
Version: 4.0
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: adb20@hotmail.com
Target Milestone: JMETER_5.1
The JMS Publisher sampler passes Bytes messages that are specified in the Text
Message textfield via an XML stream.
If a PreProcessor converts the text to a byte encoded string and passes the
variable in the Text Message textfield as a workaround, then this is converted
back to String before being sent.
In my use case, I am supplying a byte-encoded JSON text string to the JMS
queue/topic, it doesn't need to be converted to XML first.
The only way to have this work is to supply the JSON text in a file.
The desired approach would be to have an option for Bytes Messages to be
created directly from the string (either the Text Message textfield or the
file), without going via the XML XStream converter.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62856] JMS Publisher sampler forces Byte Messages in Text
Message textfield via XStream
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62856
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|JMETER_5.1 |---
CC| |p.mouawad@ubik-ingenierie.c
| |om
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62856] JMS Publisher sampler forces Byte Messages in Text
Message textfield via XStream
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62856
Andrew Burton <ad...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Andrew Burton <ad...@hotmail.com> ---
The restriction is due to Message Source = Text Area is not supported when
choosing a Message Type = Bytes Message.
If choosing Message Type = Object Message, the message is converted to an XML
source first (which in the case of a JSON string is not correct).
Probably the help for this sampler
(https://jmeter.apache.org/usermanual/component_reference.html#JMS_Publisher)
needs to also describe the difference between the Message Types as well.
--
You are receiving this mail because:
You are the assignee for the bug.