ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

RFH/JMS headers are not resolving properties while sending messages over IBM MQ

book

Article ID: 186864

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

In ITR when testing a PUT of an IBM MQ Native Send Receive step, the LASTREQUESTPAYLOAD property shows some unresolved properties as follows:
<Payload>
<PayloadInfo type="[B"></PayloadInfo>
<RFH>
<RFH>
<Entry key="StructLength"><PayloadInfo type="java.lang.Integer"></PayloadInfo>
<RefPayload>
<Type>java.lang.Integer</Type>
<Expr>{{lisa.ibmmq.Recv.Payload.RFH.StructLength}}</Expr>
</RefPayload>
</Entry>
<Entry key="CharacterSet"><PayloadInfo type="java.lang.Integer"></PayloadInfo>
<RefPayload>
<Type>java.lang.Integer</Type>
<Expr>{{lisa.ibmmq.Recv.Payload.RFH.CharacterSet}}</Expr>
</RefPayload>
</Entry>
<Entry key="Format">MQSTR</Entry>
</RFH>
<LittleEndian>false</LittleEndian>
<ByteAlign>true</ByteAlign>
<Payload>
<PayloadInfo type="java.lang.String"></PayloadInfo>
<String>
<Content>PUT2 contents&#13;&#10;PROPERTIES &#13;&#10;STRLENGTH: &gt;36&lt;&#13;&#10;CHARSET:   &gt;333&lt;</Content>
</String>
</Payload>
</RFH>
</Payload>

This is for an IBM Native Send Receive step that is doing a PUT with contents that has an IBM RFH2 Header
The RFH Header properties have been configured with: 
Struct Length: {{lisa.ibmmq.Recv.Payload.RFH.StructLength}}
Character Set: {{lisa.ibmmq.Recv.Payload.RFH.CharacterSet}}
The values were received in a previous MQ step.
The step does not show any errors and does not fail.

Environment

Release : 10.4, 10.5, 10.6

Component : CA Service Virtualization

Resolution

Even though the properties are not showing their values in LASTREQUESTPAYLOAD, the correct values are being used in the message.