loadrunner 函数web.custom_request使用
2016-07-29 11:18
453 查看
1、脚本样例
发送HTTP请求(参数为JSON格式)
发送HTTP请求(参数为JSON格式)
//获取web.custom_request函数发送的结果,ps: web.reg_save_param一定要放在custom_request上面 结果样例: //custId":"60066666666","custName web.reg_save_param ("p_custId", new String []{ "NOTFOUND=ERROR", "LB=custId\":\"", "RB=\",\"custName" , "LAST"} ); //发送的HTTP请求 web.custom_request("OpenAPI.do", "Method=POST", new String[]{ "URL=http://x.x.x.x:8080/front/login.app", "Mode=HTTP", "EncType=application/x-www-form-urlencoded; text/html; charset=utf-8", //编码类型 "Body={"functionCode":"","terminal":"APP"}", //BODY的内容 "TargetFrame=", "LAST"});
相关文章推荐
- Loadrunner中web_custom_request使用场景
- 彻底抛弃脚本录制,LR脚本之使用web_custom_request函数自定义
- 关于loadrunner使用web_add_header添加HTTP信息头(比如Content-Type,token等)和使用web_custom_request()提交json数据
- loadrunner使用web_custom_request post数据
- LR脚本之使用web_custom_request函数自定义http请求
- loadrunner之 学习四:web_custom_request()函数
- 彻底抛弃脚本录制,LR脚本之使用web_custom_request函数自定义http请求
- LoadRunner函数详解之web_custom_request
- 彻底抛弃脚本录制,LR脚本之使用web_custom_request函数自定义http请求
- loadrunner Web_类函数之web_custom_request()
- Loadrunner测试json接口实例以及 web_custom_request 函数详解
- 关于loadrunner使用web_add_header添加HTTP信息头(比如Content-Type,token等)和使用web_custom_request()提交json数据
- LoadRunner 函数之 web_custom_request
- 软件性能测试_loadrunner之web_custom_request函数做get接口测试
- Loadrunner测试json接口实例以及 web_custom_request 函数详解
- Loadrunner测试json接口实例以及 web_custom_request 函数详解
- Loadrunner 关联 web_custom_request综合实例
- LoadRunner中web_custom_request 和 web_submit_data的差别
- 再识web_custom_request之post(Jmeter VS Loadrunner)
- web_custom_request 函数详解