Forum Discussion

doragon's avatar
14 years ago

Problem with JMS correlationID

Hi,

Im trying to create a mock service but i'm stuck with the correlation id.
I,m using the ${=context.testCase.testSteps["JMSTestInputRequest"].testRequest.response.responseHeaders.JMSCorrelationID} in the JMS_CorrelationId field.
There is a value returned but it's in brackets see example

example:
JMSCorrelationID: [ID:33333866646234632d323633352d313165312d613366362d]

Can somebody tell me how to get rid off thes brackets??

With regards,
Marcel van den Berg

1 Reply

  • its an java.util.ArrayList

    try to use an index
    ....response.responseHeaders.JMSCorrelationID[0]