码迷,mamicode.com
首页 > 其他好文 > 详细

Loadrunner 怎么将response的数据下载下来

时间:2017-04-18 11:30:35      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:nap   json   check   ati   bsp   rac   settings   source   get   

我们请求url时候会遇见返回的数据格式为json格式。但是怎么显示到reply页面呢?其实有一个参数需要设置成0

1 web_url("GetRequestData",   
2     "URL=https://eit200-i.svcs.hp.com/requestmanagement/RequestTracking/GetRequestData?status=ApprovalPending&_search=false&nd=1370243480589&rows=10&page=1&sidx=OrderID&sord=desc",   
3     "Resource=0",   
4     "RecContentType=application/json",   
5     "Referer=https://eit200-i.svcs.hp.com/requestmanagement/RequestTracking/RequestTracking?orderStatus=ApprovalPending",   
6     "Snapshot=t160.inf",   
7     LAST); 

里面的resource 参数解释 0 -就是永远都会下载 1-只有你在runtime setting里面开启‘Download non-HTML resources ’才会下载

If Resource is set to 0, the URL is always downloaded during replay.

If Resource is set to 1, the URL is downloaded only if the Download non-HTML resources option is checked (see Runtime Settings > Browser Emulation tab).

Loadrunner 怎么将response的数据下载下来

标签:nap   json   check   ati   bsp   rac   settings   source   get   

原文地址:http://www.cnblogs.com/hushaojun/p/6726616.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!