Asynchronous Functions - C

Click one of the following functions for more information:

web_reg_async_attributes Registers the next action function that has requests and responses with the specified URL as the beginning of an Asynchronous ConversationClosedAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled..
web_stop_async Stops the specified Asynchronous ConversationClosedAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled. including all its active and future tasks.
web_sync Suspends the Vuser script execution until the specified parameter exists.
web_util_set_formatted_request_body Sets an XML string to be the request body for the next request sent in a Flex ConversationClosedAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled..
web_util_set_request_body Sets a string to be the request body for the next request sent in the ConversationClosedAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled..
web_util_set_request_url Sets a string to be the request URL for the next request sent in the ConversationClosedAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled..

Callbacks

Name Syntax Description
Request Callback RequestCB Called before a request is sent, allowing you to modify a request's URL and body.
Response Callback ResponseCB Called once at the end of a conversation when complete response is received. May not be called For “Push” conversation.
Response Body Buffer Callback ResponseBodyBufferCB Called on receiving portions of response body content for “Push” conversation
Response Header Buffer Callback ResponseHeadersCB Called once on receiving response headers for “Push” conversation.