LoadRunner-web函数简译

上一篇 / 下一篇  2011-04-22 16:52:19 / 个人分类:工作笔记

 

Function Name

Description

web_add_auto_filter

Sets criteria to include or exclude URLs when downloading

设定下载过程中要包含或者要排除的URLs条件

web_add_auto_header

Adds a customized header to all subsequent HTTP requests.

为函数后面所有HTTP请求添加一个自定义标头

web_add_cookie

Adds a new cookie or modifies an existing one.

添加一个新cookie或者修改一个存在的cookie

web_add_cookie_ex

Adds a cookie with specified add behavior.

添加一个有指定作用的cookie

web_add_filter

Sets criteria to include or exclude URLs when downloading.

设定下一个action的下载过程中要包含或者要排除的URLs条件

web_add_header

Adds a customized header to the next HTTP request.

为函数后面的下一个HTTP请求添加一个自定义标头

web_cache_cleanup

Cleans the content of the cache simulator.

清除缓存模拟器的内容

web_cleanup_auto_headers

Removes all previous customized headers from HTTP requests.

HTTP请求中移除所有函数前面自定义的标头

web_cleanup_cookies

Removes all cookies currently stored by the Vuser.

移除虚拟用户当前存储的所有cookies

web_concurrent_end

Marks the end of a concurrent group.

标记并发组的结束

web_concurrent_start

Marks the beginning of a concurrent group.

标记并发组的开始

web_convert_date_param

Converts a date string stored in a parameter to a different format.

根据参数,转化一个日期字符串为指定格式

web_convert_param

Converts an HTML parameter to a URL or text.

转化HTML参数为URL或者文本

web_custom_request

Allows you to create a custom HTTP request with any method supported by HTTP.

允许你用任何HTTP支持的方法创建一个客户端HTTP请求

web_disable_keep_alive

Disables Keep-Alive HTTP connections.

使Keep-Alive HTTP connections不可用

web_dump_cache

Save the Vuser cache to a file.

保存虚拟用户的缓存到文件中

web_enable_keep_alive

Enables Keep-Alive HTTP connections.

使Keep-Alive HTTP connections可用

web_find

Searches inside an HTML page for a specified text string.

HTML页面内查找指定的文本字符串

web_get_int_property

Returns specific information about the previous HTTP request.

返回前一个HTTP请求的指定信息

web_global_verification

Searches for text string in all subsequent requests.

从函数后面的所有请求中查找文本字符串

web_global_verification_pause

Suspends the specified checks set by web_global_verification.

终止web_global_verification设置的指定检查

web_global_verification_resume

Resumes the specified checks suspended by web_global_pause.

恢复web_global_pause终止的指定检查

web_image

Emulates a mouse click on the image defined by the attributes.

模拟鼠标点击图像

web_image_check

Verifies the presence of a specified image inside an HTML page.

检查指定的图像在HTML页面中是否存在

web_load_cache

Load the Vuser cache from a file.

从文件中加载Vuser缓存

web_link

Emulates a mouse click on the link that is defined by the attributes.

模拟鼠标点击超链接

web_reg_add_cookie

Registers a search for a text string and adds a cookie if the text is found.

搜索文本字符串,如果存在,则添加cookie

web_reg_find

Registers a search for a text string for the next Action function.

为下一个函数搜索文本字符窜

web_reg_save_param

Saves dynamic data from an HTML page to a parameter.

保存HTML页面中的动态数据到参数中

web_remove_auto_filter

Removes a filter on download content.

移除过滤

web_remove_auto_header

Stops adding a specific header to subsequent HTTP requests.

终止为后面的HTTP请求添加指定标头

web_remove_cookie

Removes the specified cookie.

移除指定的cookie

web_report_data_point

Specifies a data point and adds it to test results.

指定一个数据检查点并且添加到测试结果中

web_revert_auto_header

Stops adding a specific header to subsequent HTTP requests, but generates Implicit headers.

终止为后面的HTTP请求添加指定标头,但是生成隐含的标头

web_save_header

Saves request and response headers to a variable.

保存标头到变量中

web_save_param_length

Saves the length of a parameter.

保存参数的长度

web_save_timestamp_param

Saves the current timestamp.

保存时间戳

web_set_certificate

Causes a script. to use a specific certificate that is listed in the Internet Explorer registry.

产生一个使用指定证书的脚本

web_set_certificate_ex

Specifies location and format information of a certificate and key file.

指定证书、钥匙的位置和格式信息

web_set_max_html_param_len

Sets the maximum length of retrieved dynamic HTML information.

设定取回的动态HTML信息的最大长度

web_set_max_retries

Sets the maximum number of retries for an Action step.

设定重试的最大次数

web_set_option

Sets a Web option.

设定web选项

web_set_proxy

Specifies that all subsequent HTTP requests be directed to the specified proxy server.

指定所有后面的HTTP请求使用指定的代理服务

web_set_proxy_bypass

Specifies the list of URLs that scripts access directly, i.e., not via the specified proxy server.

指定脚本直接访问的URLs列表,而不经过指定的代理服务

web_set_proxy_bypass_local

Specifies whether or not the proxy server should bypass local addresses.

指定代理服务是否绕过本机地址

web_set_secure_proxy

Specifies that all secure HTTP requests be directed to the specified secure proxy server.

指定所有可靠的HTTP请求使用指定的代理服务

web_sjis_to_euc_param

Converts an SJIS string to EUC and assigns it to a parameter.

SJIS字符串转化成EUC并且置为参数

web_set_sockets_option

Sets an option for secure sockets.

设定安全套接字的选项

web_set_timeout

Specifies the maximum amount of time that a script. waits for a specified operation to be performed.

指定脚本等待指定动作执行的最大时间

web_set_user

Specifies a login string for a Web server.

指定web服务器的登录账号

web_submit_data

Performs an "unconditional" or "contextless" form. submission.

提交无状态或缺少上下文的表单

web_submit_form

Performs a POST request; submits forms.

执行POST请求:提交表单

web_switch_net_layer

Specifies a network layer for replay. (WAP only)

指定回复的网络层(仅支持WAP)

web_url

Performs a GET request; receives pages or images.

执行GET请求:接收页面或图像


TAG:

 

评分:0

我来说两句

Open Toolbar