/ The Id to be matched against when getting a message from a queue MO_match_correl_ID; / The message to be retrieved must have a correlation identifier that matches the value. Note that this approach requires that you have a Java-based LoadRunner license such as the Java Tempate vuser or the Java Record-Replay vuser. Jar import ; import. Note the open options used. Put(requestMsg, pmo catch(Exception e) ror_message Error sending message. Fail return 0; /end of end.
You will probably need to add the following jar files to your classpath * -.jar * - connector. MsgBody / Clear the message objects on each iteration. You are not likely to need many virtual users, even if you want to generate a lot of messages.
Wear pact discount code
Seeso promo code my brother
One kings lane coupon code 30 off
Wood sheets discount code
PutQueue cessQueue(putQueueName, OO_bind_NOT_fixed OO_output getQueue cessQueue(getQueueName, OO_input_AS_Q_DEF OO_output catch(Exception e) ror_message Error connecting to queue manager or accessing queues. Catch ror_message Error receiving message. Fail TO return 0; /end of action public int end throws Throwable / Close all the connections try ose ose ose catch(Exception e) ror_message Exception in closing the connections. Disable this for a load test. public class Actions / Variables used by more than one method String queueMgrName "testqmgr String putQueueName "bound. Fail return 0; /end of init public int action throws Throwable / This is an XML message that will be put on the queue.