apache / apache/jmeter

JMS Publisher sampler forces Byte Messages in Text Message textfield via XStream

Open
#4,903 1 comment 0 reactions 0 assignees View on GitHub
enhancement os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Andrew Burton** ([Bug 62856](https://bz.apache.org/bugzilla//show_bug.cgi?id=62856&redirect=false)):
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.

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.