giannisdoe
12 years agoNew Contributor
How to set JMSCorelationId during test execution
Hi all,
does anyone know if it's possible to set the JMSCorrelationId of a soap request during test execution?
I would like to run a test case, that sends some requests to a JMS queue.
The first step of my test case, reads a sequence number from a database and inserts it in the XML Request using a Property Transfer.
However I have to set the JMSCorrelationId equal to this sequence number, and it doesn't seem I can set JMS Headers from a property transfer..
Is there any way to do it, i.e. with a groovy script?
Thanks a lot
Panos
does anyone know if it's possible to set the JMSCorrelationId of a soap request during test execution?
I would like to run a test case, that sends some requests to a JMS queue.
The first step of my test case, reads a sequence number from a database and inserts it in the XML Request using a Property Transfer.
However I have to set the JMSCorrelationId equal to this sequence number, and it doesn't seem I can set JMS Headers from a property transfer..
Is there any way to do it, i.e. with a groovy script?
Thanks a lot
Panos