Service Virtualization

  • 1.  How to return the XML message in CP037 format (EBSDIC).

    Posted May 03, 2017 05:04 AM

    Hello All,

     

    Our testing is getting impacted badly. Can you please or some explain how to perform this step in MQ stub?

     

    1. Return the XML message in CP037 format (EBSDIC).

    thanks..



  • 2.  Re: How to return the XML message in CP037 format (EBSDIC).
    Best Answer

    Posted May 04, 2017 11:17 PM

    You can add a SDP filter in the responder step and add below code for Response - Playback

     

    %beanshell%

     

    lisa_vse_response.setBodyBytes(<response>.getBytes("Cp037"));
    lisa_vse_response.setBinary(true);