https://issues.apache.org/bugzilla/show_bug.cgi?id=54434

            Bug ID: 54434
           Summary: Add possibility to save ByteMessage content in the
                    sample result.
           Product: JMeter
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Since Bug 54182, JMeter is able to handle ByteMessage for JMS sample. 
But when I read a message in this format, the content is not save, I can just
read this message : 

 "XX bytes received in BytesMessage"

So, could you please add in the sample result object, the real content of the
ByteMessage like this :

// copy data into a byte[] array
int dataSize = (int) msg.getBodyLength();
byte[] array = new byte[dataSize];
msg.readBytes(array , dataSize);

[...]

result.setResponseData( array );

The goal of this, is to send later the message (or save into a file )

Thanks  !

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to