Web Vuser Functions: JavaScript Language
Click one of the following functions for more information.
Function name | Description |
---|---|
web.addAutoFilter | Sets criteria to include or exclude urls when downloading |
web.addAutoHeader | Adds a customized header to all subsequent HTTP requests. |
web.addCookie | Adds a new cookie or modifies an existing one. |
web.addCookieEx | Adds a cookie with specified add behavior. |
web.addFilter | Sets criteria to include or exclude urls when downloading. |
web.addHeader | Adds a customized header to the next HTTP request. |
web.cacheCleanup | Cleans the content of the cache simulator. |
web.cleanupAutoHeaders | Removes all previous customized headers from HTTP requests. |
web.cleanupCookies | Removes all cookies currently stored by the Vuser. |
web.concurrentEnd | Marks the end of a concurrent group. |
web.concurrentStart | Marks the beginning of a concurrent group. |
web.convertFromFormatted | Converts a string created with one or more data format extensions back to the source format. |
web.customRequest | Allows you to create a custom HTTP request with any method supported by HTTP. |
web.disableKeepAlive | Disables Keep-Alive HTTP connections. |
web.dumpCache | Save the Vuser cache to a file. |
web.enableKeepAlive | Enables Keep-Alive HTTP connections. |
web.getIntProperty | Returns specific information about the previous HTTP request. |
web.globalVerification | Searches for text string in all subsequent requests. |
web.globalVerificationPause | Suspends the specified checks set by web_globalVerification. |
web.globalVerificationResume | Resumes the specified checks suspended by web.globalVerificationPause. |
web.image | Emulates a mouse click on the image defined by the attributes. |
web.link | Emulates a mouse click on the link that is defined by the attributes. |
web.loadCache | Load the Vuser cache from a file. |
web.regAsyncAttributes | Registers the next action function that has requests and responses with the specified url as the beginning of an Conversation 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.regFind | Registers a search for a text string for the next action function. |
web.regSaveParamAttrib | Registers a request to save dynamic data in a server response that has been formatted as HTML. The data is saved to a parameter. |
web.regSaveParamEx | Registers a request to save dynamic data located between specified boundaries to a parameter. |
web.regSaveParamJson | Registers a request to save dynamic data in an buffer that has been formatted as Json. The data is saved to a parameter. |
web.regSaveParamRegexp | Registers a request to save dynamic data that matches a regular expression to a parameter. |
web.regSaveParamXpath | Registers a request to find dynamic data in an HTML buffer that has been formatted as XML and save the data to a parameter. |
web.removeAutoFilter | Removes a filter on download content. |
web.removeAutoHeader | Stops adding a specific header to subsequent HTTP requests. |
web.removeCookie | Removes the specified cookie. |
web.revertAutoHeader | Stops adding a specific header to subsequent HTTP requests, but generates Implicit headers. |
web.saveHeader | Saves request and response headers to a variable. |
web.saveParamLength | Saves the length of a parameter. |
web.setCertificate | Causes a script to use a specific certificate that is listed in the Internet Explorer registry. |
web.setCertificateEx | Specifies location and format information of a certificate and key file. |
web.setMaxHtmlParamLen | Sets the maximum length of retrieved dynamic HTML information. |
web.setMaxRetries | Sets the maximum number of retries for an action step. |
web.setOption | Sets a web option. |
web.setPac | Sets the location of the proxy auto-configuration (PAC) script. |
web.setProxy | Specifies that all subsequent HTTP requests be directed to the specified proxy server. |
web.setProxyBypass | Specifies the list of urls that scripts access directly, i.e., not via the specified proxy server. |
web.setProxyBypassLocal | Specifies whether or not the proxy server should bypass local addresses. |
web.setSecureProxy | Specifies that all secure HTTP requests be directed to the specified secure proxy server. |
web.setSocketsOption | Sets an option for secure sockets. |
web.setTimeout | Specifies the maximum amount of time that a script waits for a specified operation to be performed. |
web.setUser | Specifies a login string for a web server. |
web.stopAsync | Cancels the specified conversation including all its active and future tasks. |
web.streamClose | Closes a media stream. |
web.streamGetParamDouble | Returns the state of the stream (current time, buffering time, or duration). |
web.streamGetParamInt | Returns the state of the stream (current state or bytes received). |
web.streamGetParamString | Returns the state of the stream (stream URL, protocol, or server IP). |
web.streamOpen | Opens a media stream. |
web.streamPause | Pauses playing a media stream. |
Starts playing a media stream. | |
web.streamSeek | Sets the position in a stream. |
web.streamSetParamDouble | Sets the value of a stream parameter. |
web.streamSetParamInt | Sets the value of a stream parameter. |
web.streamStop | Stops playing a media stream and sets the stream pointer back to the beginning. |
web.streamWait | Suspends script execution during stream download until download condition reached. |
web.submitData | Performs an "unconditional" or "contextless" form submission. |
web.submitForm | Performs a POST request; submits forms. |
web.sync | Suspends the Vuser script execution until the specified parameter exists. |
web.url | Performs a GET request; receives pages or images. |
web.utilSetRequestBody | Sets a string to be the request body for the next request sent in the Conversation 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.utilSetRequestUrl | Sets a string to be the request url for the next request sent in the Conversation 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.. |