Service Virtualization

  • 1.  IBM Native MQ virtualization - RR pair input formats

    Posted Mar 01, 2019 12:40 AM

    Hi  Team,

     

    We have a requirement to achieve virtualization using IBM Native MQ. we have two requirements

       1. Normal request which uses XML format which can be configured using the RR pairs.

       2. Request contains zip file. ZIP file contains a scanned cheque and request XML in binary format(Non-readable)          from end user perspective.But the responses are in xml format.

     

    Query:

       1.Is there a possibility for us to configure a request/response pair where request can be given in the format of .zip file .

       2. Or is there any possibility available in the devtest , where we can place a request as a .zip file from a folder.

     

    Thanks in advance

    RVR



  • 2.  Re: IBM Native MQ virtualization - RR pair input formats

    Posted Mar 04, 2019 07:59 AM

    Hi,

     

    I hope I understand your query, Please check below options if that helps.

     

    For 

    1.Is there a possibility for us to configure a request/response pair where request can be given in the format of .zip file .

       - Yes,If your request(encoded xml) is bounded/enclosed in xml , decode the xml content with the same encoding as used at end-user and then you can respond with respective response (you will not be able to perform check on .zip file content ).

       -  Or you have to put the .zip file(encoded ex. base-64 encoding) and encoded XML in another xml body before making a request.

     

    2. Or is there any possibility available in the devtest , where we can place a request as a .zip file from a folder.

       - Create a teststep that picks the .zip file and create a XML with encoded .zip file.

     

    for encoding please refer to How to create stub response with pdf attachment? .

     

    I hope this helps.

     

     

    Thanks & Regards,

    Dinesh Kumar



  • 3.  Re: IBM Native MQ virtualization - RR pair input formats

    Posted Mar 06, 2019 08:08 AM

    Hi Dinesh,

     

    Sorry for the late reply. I was stuck in some other work.

     

    I will try these options and try testing the same.

     

    Thanks for your valuable input.

     

    Thanks,

    RVR



  • 4.  Re: IBM Native MQ virtualization - RR pair input formats

    Posted Mar 18, 2019 02:31 AM

    Hi Dinesh,

     

    Sorry for long delayed reponse.

    I think the post you have referred me does not allow me to read file automatically from a folder as an input to the Request/Response pair.

    My requirement is like, if i mention the folder name, the file from the input folder has to be automatically considered as the request/response .

    Kindly let me know if you have any inputs on this.

     

    Thanks,

    Rohini Rangaswamy