Share this page

# Send messages over JMS

This task describes how to send messages using the JMS transport method.

To send messages over JMS:

1. Open the step properties: In the Step Navigator, select the step whose transport you want to set, and then select Show Arguments from the shortcut menu.

2. Select the Transport Layer Configuration node and choose JMS Transport.

   For UI details, see New Web Service Call dialog box.

3. (Optional) Configure the runtime settings as described in the JMS > Advanced view.

4. (Optional) Once you create a Web Service call and designate the transport method as JMS, VuGen sends the JMS messages in a synchronous manner. If required, specify the queue information.

5. (Optional) To implement asynchronous messages over JMS, you send the request or retrieve the response using JMS steps—not Web Service calls.

   1. Click within the script at the required location. Select Insert > New Step from the right-click menu, and locate the JMS Functions in the Steps Toolbox.

   2. Select a JMS function: JMS Send Message Queue sends a message to a queue. JMS Receive Message Queue receives a message from the queue.

   3. Click OK to open the JMS function properties.

   4. Specify a queue name and click OK to generate the JMS functions.

   For additional information about these functions, see the Function Reference (or click F1 on the function).

6. (Optional) To send messages over JMS, using the SOAP message and without a Web Service call:

   1. Record SOAP messages using a standard web protocol.

   2. Click within the script at the required location. Select Insert > New Step from the right-click menu, and locate the JMS Functions in the Steps Toolbox.

   3. Select a JMS function: Send Message Queue or JMS Receive Message Queue.

   4. Click OK to open the JMS function properties.

   5. Specify a queue name and click OK to generate the JMS functions.

   For details, see the Function Reference or click F1 on the function.

Back to top

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1 All View Local Help Center View Online Help Center Version: