loadrunner Web_类函数之web_set_proxy()
来源:互联网 发布:post 测试工具 json 编辑:程序博客网 时间:2024/06/16 18:03
web_set_proxy()--常用函数
指定所有后续HTTP请求都定向到指定的代理服务器。
int web_set_proxy(const char *proxy_host:port);
参数说明:
object一个表达式,求值到类型为WebApi的对象。通常是webfor Java和Visual Basic。另请参见函数和常量前缀。
proxy_host:port代理服务器的主机名。由于代理服务器没有默认端口,因此始终在参数中包含端口号。请使用格式:“host:port”。例如:proxy03.vision.net.il:8080。
一般信息 :
web_set_proxy函数是一个Service函数,它指定所有后续HTTP请求都定向到指定的代理服务器。要将HTTP请求直接提交到服务器(即不使用代理服务器),请使用web_set_proxy函数传递一个空字符串(“”)作为参数。
所有Web脚本和仅以HTTP模式运行的WAP脚本支持此功能。不支持以无线会话协议(WSP)重放模式运行的WAP脚本。
示例:web_set_proxy
以下示例指定所有后续HTTP请求都定向到位于proxy03.my_proxy_server.net的代理服务器:
web_set_proxy(“proxy03.my_proxy_server.net:8080”);
阅读全文
0 0
- loadrunner Web_类函数之web_set_proxy()
- loadrunner Web_类函数之web_add_auto_filter()
- loadrunner Web_类函数之web_add_auto_header()
- loadrunner Web_类函数之web_add_cookie()
- loadrunner Web_类函数之web_add_cookie_ex()
- loadrunner Web_类函数之web_add_filter()
- loadrunner Web_类函数之web_add_header()
- loadrunner Web_类函数之web_browser()
- loadrunner Web_类函数之web_button()
- loadrunner Web_类函数之web_cache_cleanup()
- loadrunner Web_类函数之web_check_box()
- loadrunner Web_类函数之web_convert_param()
- loadrunner Web_类函数之web_convert_date_param()
- loadrunner Web_类函数之web_convert_from_formatted()
- loadrunner Web_类函数之web_convert_to_formatted()
- loadrunner Web_类函数之web_create_html_param()
- loadrunner Web_类函数之web_create_html_param_ex()
- loadrunner Web_类函数之web_custom_request()
- 浏览器渲染流水线解析(一)
- loadrunner Web_类函数之web_set_option()
- Unity中常用的一些单词的翻译(完善)
- 跟我一起了解xCode9的新功能
- NKOJ 2498 (NOIP 2013)华容道(BFS+最短路)
- loadrunner Web_类函数之web_set_proxy()
- 《Python爬虫开发与项目实战》总结 第二章
- 戴尔PowerEdge R430 机架式服务器 安装ubuntu server 14.04.1 LTS 64 位 硬件配置: 服务编号:5Z04X72 软件配置 1、Ubuntu 系统下载地址:
- bzoj4754独特的树叶(树hash)
- 九九乘法表
- Python Virtual Environments 原理
- MySQL的增删查改
- java----数组
- jtwig-spring-boot-starter ,Defining prefix/suffix of the resolver, resource not found