Service Virtualization

 View Only
  • 1.  Virtualizing JMS service with Byte messages using copybooks

    Posted Oct 15, 2020 09:50 PM
    Hi Team,

    I am virtualizing JMS service with Byte messages using copybooks. I have request and response messages in byte format. How to create the payload mapping file to parse the byte messages. For matchType as "Payload", what will be the key value. As it is byte message how can i give the value in key element.

    Please suggest.

    Thank You
    Rajasekhar


  • 2.  RE: Virtualizing JMS service with Byte messages using copybooks

    Posted Oct 16, 2020 01:37 AM
    Hi Rajasekhar,

    What is the charset for your request?

    You can try DPH, use lisa_vse_request.getBodyBytes() to get the bytes, convert them to string and then apply copybook

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: Virtualizing JMS service with Byte messages using copybooks

    Posted Oct 19, 2020 06:29 PM
    Thank You Vaibhav. BASE64 is charset. 

    I will try your suggestion and update.

    Regards
    Rajasekhar