Share this page

# Send asynchronous calls with HTTP/HTTPS

This following section describes how to use asynchronous calls in HTTP/HTTPS. You use a Wait for Event step to instruct Vusers to wait for the response of previous asynchronous requests before continuing. The listener blocks the execution of the service until the server responds.

When adding a Web Service Wait for Event step, you specify the following:

- Quantifier. The quantifier indicates whether the Vuser should wait for ALL events to receive a response or ANY, just one of them. ANY returns the name of the first event to receive a response. ALL returns one of the event names.

- Timeout. the timeout in milliseconds. If no events receive responses in the specified timeout, then web_service_wait_for_event returns a NULL.

- Events. a list all of the asynchronous events for which you want to wait.

When running a script with asynchronous messaging, the Replay log provides information about the events and the input and output arguments.

For task details, see Send messages over HTTP/S.

When setting up an asynchronous message, you can set the location to which the service responds when it detects an event using WS-Addressing. For more information, see WS-Addressing.

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 25.1-25.3 All View Local Help Center View Online Help Center Version: