Web Vuser Functions: JavaScript Language

Click one of the following functions for more information.

Function nameDescription
web.addAutoFilterSets criteria to include or exclude urls when downloading
web.addAutoHeaderAdds a customized header to all subsequent HTTP requests.
web.addCookieAdds a new cookie or modifies an existing one.
web.addCookieExAdds a cookie with specified add behavior.
web.addFilterSets criteria to include or exclude urls when downloading.
web.addHeaderAdds a customized header to the next HTTP request.
web.cacheCleanupCleans the content of the cache simulator.
web.cleanupAutoHeadersRemoves all previous customized headers from HTTP requests.
web.cleanupCookiesRemoves all cookies currently stored by the Vuser.
web.concurrentEndMarks the end of a concurrent group.
web.concurrentStartMarks the beginning of a concurrent group.
web.convertFromFormattedConverts a string created with one or more data format extensions back to the source format.
web.customRequestAllows you to create a custom HTTP request with any method supported by HTTP.
web.disableKeepAliveDisables Keep-Alive HTTP connections.
web.dumpCacheSave the Vuser cache to a file.
web.enableKeepAliveEnables Keep-Alive HTTP connections.
web.getIntPropertyReturns specific information about the previous HTTP request.
web.globalVerificationSearches for text string in all subsequent requests.
web.globalVerificationPauseSuspends the specified checks set by web_globalVerification.
web.globalVerificationResumeResumes the specified checks suspended by web.globalVerificationPause.
web.imageEmulates a mouse click on the image defined by the attributes.
web.linkEmulates a mouse click on the link that is defined by the attributes.
web.loadCacheLoad the Vuser cache from a file.
web.regAsyncAttributesRegisters the next action function that has requests and responses with the specified url as the beginning of an 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.regFindRegisters a search for a text string for the next action function.
web.regSaveParamAttribRegisters a request to save dynamic data in a server response that has been formatted as HTML. The data is saved to a parameter.
web.regSaveParamExRegisters a request to save dynamic data located between specified boundaries to a parameter.
web.regSaveParamJsonRegisters a request to save dynamic data in an buffer that has been formatted as Json. The data is saved to a parameter.
web.regSaveParamRegexpRegisters a request to save dynamic data that matches a regular expression to a parameter.
web.regSaveParamXpathRegisters a request to find dynamic data in an HTML buffer that has been formatted as XML and save the data to a parameter.
web.removeAutoFilterRemoves a filter on download content.
web.removeAutoHeaderStops adding a specific header to subsequent HTTP requests.
web.removeCookieRemoves the specified cookie.
web.revertAutoHeaderStops adding a specific header to subsequent HTTP requests, but generates Implicit headers.
web.saveHeaderSaves request and response headers to a variable.
web.saveParamLengthSaves the length of a parameter.
web.setCertificateCauses a script to use a specific certificate that is listed in the Internet Explorer registry.
web.setCertificateExSpecifies location and format information of a certificate and key file.
web.setMaxHtmlParamLenSets the maximum length of retrieved dynamic HTML information.
web.setMaxRetriesSets the maximum number of retries for an action step.
web.setOptionSets a web option.
web.setPacSets the location of the proxy auto-configuration (PAC) script.
web.setProxySpecifies that all subsequent HTTP requests be directed to the specified proxy server.
web.setProxyBypassSpecifies the list of urls that scripts access directly, i.e., not via the specified proxy server.
web.setProxyBypassLocalSpecifies whether or not the proxy server should bypass local addresses.
web.setSecureProxySpecifies that all secure HTTP requests be directed to the specified secure proxy server.
web.setSocketsOptionSets an option for secure sockets.
web.setTimeoutSpecifies the maximum amount of time that a script waits for a specified operation to be performed.
web.setUserSpecifies a login string for a web server.
web.stopAsyncCancels the specified conversation including all its active and future tasks.
web.streamCloseCloses a media stream.
web.streamGetParamDoubleReturns the state of the stream (current time, buffering time, or duration).
web.streamGetParamIntReturns the state of the stream (current state or bytes received).
web.streamGetParamStringReturns the state of the stream (stream URL, protocol, or server IP).
web.streamOpenOpens a media stream.
web.streamPausePauses playing a media stream.

web.streamPlay

Starts playing a media stream.
web.streamSeekSets the position in a stream.
web.streamSetParamDoubleSets the value of a stream parameter.
web.streamSetParamIntSets the value of a stream parameter.
web.streamStopStops playing a media stream and sets the stream pointer back to the beginning.
web.streamWaitSuspends script execution during stream download until download condition reached.
web.submitDataPerforms an "unconditional" or "contextless" form submission.
web.submitFormPerforms a POST request; submits forms.
web.syncSuspends the Vuser script execution until the specified parameter exists.
web.urlPerforms a GET request; receives pages or images.
web.utilSetRequestBodySets 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.utilSetRequestUrlSets 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..