Asynchronous Functions - C

Click one of the following functions for more information:

web_reg_async_attributesRegisters the next action function that has requests and responses with the specified URL as the beginning of an Asynchronous ConversationClosed An 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_asyncStops the specified Asynchronous ConversationClosed An 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_syncSuspends the Vuser script execution until the specified parameter exists.
web_util_set_request_bodySets a string to be the request body for the next request sent in the ConversationClosed An 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_headerSets a string for the request header name and value for the next request sent in the ConversationClosed An 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_urlSets a string to be the request URL for the next request sent in the ConversationClosed An 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

NameSyntaxDescription
Request CallbackRequestCBCalled before a request is sent, allowing you to modify a request's URL and body.
Response CallbackResponseCBCalled once at the end of a conversation when complete response is received. May not be called For “Push” conversation.
Response Body Buffer CallbackResponseBodyBufferCB Called on receiving portions of response body content for “Push” conversation
Response Header Buffer CallbackResponseHeadersCBCalled once on receiving response headers for “Push” conversation.