Service Virtualization

Expand all | Collapse all

How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

  • 1.  How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Posted Oct 28, 2018 09:57 AM

    How to copy RFH2 Usr User properties from request and pass all the properties in response ?
    Please gimme some examples ?



  • 2.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Broadcom Employee
    Posted Oct 29, 2018 12:22 AM

    Hi,

     

    Did you read this part in the DevTest Manual?
    IBM MQ Native RFH2 Header
    Is this information that you want or not?


    Thank you,



  • 3.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Posted Oct 29, 2018 03:58 AM

    Yes, I have gone through the DevTest Manual.

     

    I'm not clear with this. So I need some examples for better understanding the concept.

     

    How to configure the Keys and Values in Usr folder ?



  • 4.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Broadcom Employee
    Posted Oct 30, 2018 02:17 AM

    Hi,

     

    Maybe this link will help you.

    How to send data to MQRFH2 Headers?

    I tried to get the sceenshots from my environment but this link already includes the screenshots.

     

    Thank you.



  • 5.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Posted Nov 01, 2018 02:33 PM

    Hi Yusuke,

     

    Thanks for the information shared.

     

    I have created a VS using request/response pair. I'm getting proper message/response from the VS, I could see only message in Data tab in RFHUtil.

    How to add <usr> properties in VSI/VSM. Could you please provide me the details ?

     

    Thanks

    Shashavali



  • 6.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Broadcom Employee
    Posted Nov 02, 2018 03:37 AM

    Hi,

     

    In the link below:
    How can I access the usr User Properties in MQRFH2 Folder from MQ VS
    The explanation is:
    If you are using the IBM MQ Native protocol then it should detect the RFH2 header automatically, and you should see all the RFH2 headers and properties in the request meta-data:


    Then if you cannot see these meta-data values in your VSI file, then something were missed during the recording processes.
    But if you can see these meda-data values in your VSI file, you can detect these meta-data values and save as the DevTest's property values  by using the scriptable data protocol.

     

    Thank you,



  • 7.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Posted Nov 02, 2018 05:28 AM

    Hi

     

    I could not see Meta Data in VSI. Please find below the details:

       

     

    Regards

    Shashavali



  • 8.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Posted Nov 02, 2018 02:38 PM
    Hi Yusuke,
    I have deleted everything and started from scratch. I have copybook input/output, sample request and response pairs and also sidecar files.
    Steps to create a VS:
    Transport Protocol: IBM MQ Native
    Request Side Data Protocol: Added Copybook DataProtol.
    Response Side Data Protocol: Added Copybook DataProtol
    Configure How to Parse the Copybook Payloads: Selected Copybook file definition folder, Payload to file definition map path.
    I have created the MQ VS using above steps and I'm able to see RFH2 headers and properties in request and response meta data.
    But when I did a transaction, the values/contents in usr tab of rfhutilC are blank. I'm getting expected response in Data tab of rfhutilC.
    I'm trying to send the message/response along with usr folder. Please advise on the next step. Thank you.
    Regards
    Shashavali
     


  • 9.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Broadcom Employee
    Posted Nov 05, 2018 03:01 AM

    Hi,
     
    From your screenshot of the meta-data for request in VSI file, it seems that the header information for the request did not process or the header information for the request did not exist in your request file.
    Is it possible to attach all the files that you use for creating the virtual services to this question?
    But if it is not possible because of your company's security policy, then could you please create a support case about your problem?
    Currently, we can check part of your files only from comments and screenshots.
     
    Thank you,



  • 10.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Posted Nov 05, 2018 05:17 AM
    Hi Yusuke,
    I have deleted everything and started from scratch. I have copybook input/output, sample request and response pairs and also sidecar files.
    Steps to create a VS:
    Transport Protocol: IBM MQ Native
    Request Side Data Protocol: Added Copybook DataProtol.
    Response Side Data Protocol: Added Copybook DataProtol
    Configure How to Parse the Copybook Payloads: Selected Copybook file definition folder, Payload to file definition map path.
    I have created the MQ VS using above steps and I'm able to see RFH2 headers and properties in request and response meta data.
    But when I did a transaction, the values/contents in usr tab of rfhutilC are blank. I'm getting expected response in Data tab of rfhutilC.
    I'm trying to send the message/response along with usr folder. Please advise on the next step. Thank you.
    Regards
    Shashavali


  • 11.  Re: How to copy RFH2 Usr User properties from request and pass all the properties in response from MQ VS?

    Broadcom Employee
    Posted Nov 08, 2018 02:49 AM

    Hi,
     
    As I mentioned in my previous comment:
    ------------------------------------------------------------------------------
    From your screenshot of the meta-data for request in VSI file, it seems that the header information for the request did not process or the header information for the request did not exist in your request file.
    Is it possible to attach all the files that you use for creating the virtual services to this question?
    But if it is not possible because of your company's security policy, then could you please create a support case about your problem?
    Currently, we can check part of your files only from comments and screenshots.
    ------------------------------------------------------------------------------
    This means that it is very hard to expect(not determine) which part or data are wrong or incoorect during the steps for creating the virtual service.
    This community is a public area. So if it is impossible to attach your data in this commmunity because of your company's security policy, then we suggest to create a support case for this problem.(But you should share your data to limited engineers in CA.)
     
    Thank you,