Service Virtualization

  • 1.  How to Read Data from MQRFH2 Message Headers

    Posted Jul 25, 2017 03:14 AM

    Hi, We need to verify the MQRH2 message header data. 2 fields data will be populated and will be sent to target system. We need to automate such that these Message Header data to be validated once we fetch the message from Queue using IBM MQ GET Step. Could you pleas help me out on how to fetch the MQRFH2 data from the queue. DevTest version we are using is 8.4.



  • 2.  Re: How to Read Data from MQRFH2 Message Headers
    Best Answer

    Posted Jul 25, 2017 10:07 AM

    Make sure your IBM MQ Send Receive step has the 'Quiet' checkbox in the step info *unchecked*, and it will automatically extract all header properties and RFH2 properties into testExec properties. 

     

    The exact testExec property that each RFH2 property get stored in depends on its name and the RFH2 "folder" it appears in, but it should look something like 'lisa.ibmmq.Recv.Payload.Folders.usr.Props.property1'



  • 3.  Re: How to Read Data from MQRFH2 Message Headers

    Posted Jul 26, 2017 07:03 AM

    Thanks Kevin for the reply, i will check and know you the results.



  • 4.  Re: How to Read Data from MQRFH2 Message Headers

    Posted Jul 31, 2017 11:11 AM

    Avinash,

    Just checking to see if you have had a chance to check Kevin's recommendations yet. If so, did it help you out with this issue?