Service Virtualization

Expand all | Collapse all

Can we send byte message as response?

Jump to Best Answer
  • 1.  Can we send byte message as response?

    Posted 09-18-2018 05:20 PM

    Hi,

     

    Can we send the byte message as response.

    We are virtualizing JMS service. Request and response messages are in BYTE Message format. We have Copybooks to parse the request message but not for response message.

    In this case, can we send byte message directly as response. If I use "text" as payload type and copy the byte message in response section in VSI, will it work.

     

    Please let me know the details.

    Thank You.

    Rajasekhar



  • 2.  Re: Can we send byte message as response?

    Posted 09-19-2018 04:00 AM

    Hi,

     

    What version DevTest are you using?
    Do you use CICS related agent?

     

    Thank you,



  • 3.  Re: Can we send byte message as response?

    Posted 09-19-2018 12:13 PM

    Hi Yusuke,

     

    We are using DevTest 10.3 version. Not using any CICS agent for this service. This is JMS service.

     

    Thank You.



  • 4.  Re: Can we send byte message as response?
    Best Answer

    Posted 09-21-2018 06:00 AM

    Hi Rajasekhar

                     Yes, you can very well send BYTES MESSAGE as response. You may retain the payload type as BytesMessage. Please find below the screen shot that shows a transaction whose response type is JMS Bytes Message.

     

    Response Body

     

    Response Metadata

     

     

    regards

    Sankar



  • 5.  Re: Can we send byte message as response?

    Posted 10-10-2018 04:34 PM

    Sorry for late response Sankar.

     

    Thank You. It worked for me.

     

    Rajasekhar



  • 6.  Re: Can we send byte message as response?

    Posted 10-11-2018 01:03 AM

    Thanks for the confirmation Rajasekhar.

     

    -Sankar



  • 7.  Re: Can we send byte message as response?

    Posted 09-25-2018 02:55 PM

    Hello Rajasekhar,

     

    Did Sankar's response help you?

     

    Heloisa