Performancing Metrics

Vamsi Tokala's blog: SOAP Over JMS using Publisher - Subscriber Communication

Tuesday, January 12, 2010

SOAP Over JMS using Publisher - Subscriber Communication

Publish-Subscribe. Each message is sent from one publisher to many subscribers through a designated topic. The subscribers only receive messages sent after they have subscribed.
A sample script to Publish and Subcribe JMS messages to TIBCO using LoadRunner


//Sample Queue Name - TIBQ1.SAP.SyncOrder.ADSKOrder
jms_subscribe_topic("subcribe_step", "subscription_1", "TIBQ1.SAP.SyncOrder.ADSKOrder");

// Publishes messages to a specific topic

"\r\n \r\n "",

"7051170660\r\n "\r\n \r\n "


" 000000000025835109\r\n "

" \r\n


//Receives published messages to a specific topic on a subscription
jms_receive_message_topic("receive_step", "subscription_1", "TIBQ1.SAP.SyncOrder.ADSKOrder");

//Received messages are saved in the JMS_message parameter
lr_output_message(lr_eval_string("message : \n{JMS_message}\n"));

return 0;


JMS RuntimeSettings
JMS Runtime Settings

1 comment:

jay said...

i am getting below error at jms_subscribe_topic

Error: Failed to subscribe subscription1 on due to the following exception : java.lang.NullPointerException
Action.c(48): Error: JMS call execution failed
Action.c(48): Continuing after error in Vuser script.