loadrunner基本操作-参数化_第1页
loadrunner基本操作-参数化_第2页
loadrunner基本操作-参数化_第3页
loadrunner基本操作-参数化_第4页
已阅读5页,还剩7页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、LoadRunner基本操作-参数化学号:201671020130姓名: 汪志港同组:杨梦南、王文涛、杨伟晗时间:2019-04-25LoadRunner参数化实验目的掌握LoadRunner 参数化的基本操作,使用数据文件dat,模拟不同的文章标题录入。实验环境LoadRunner 11/12测试网站 admin/admin_123&实验步骤 脚本录制可以直接使用上节课已经录制好的脚本Action()web_url(,URL=/,Resource=0,RecContentType=text/html,Referer=,Snapshot=t1.inf,Mode=HTML,EXTRARES,Ur

2、l=/css?family=Source+Sans+Pro:300,400,600,400italic,Referer=/app/css/app.css,ENDITEM,Url=/vendor/fontawesome/fonts/fontawesome-webfont.woff?v=4.7.0,Referer=/vendor/fontawesome/css/font-awesome.min.css,ENDITEM,Url=/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff,Referer=/css?family=Source+S

3、ans+Pro:300,400,600,400italic,ENDITEM,Url=/favicon.ico,Referer=,ENDITEM,Url=/vendor/simple-line-icons/fonts/Simple-Line-Icons.ttf?v=2.4.0,Referer=/vendor/simple-line-icons/css/simple-line-icons.css,ENDITEM,LAST);web_set_sockets_option(SSL_VERSION,TLS1.1);lr_think_time(32);web_custom_request(login.js

4、on,URL=/login.json,Method=POST,Resource=0,RecContentType=application/json,Referer=/,Snapshot=t2.inf,Mode=HTML,EncType=application/json;charset=UTF-8,Body=loginName:admin,loginPwd:admin_123&,LAST);web_url(index.html,URL=/index.html,Resource=0,RecContentType=text/html,Referer=/,Snapshot=t3.inf,Mode=HT

5、ML,EXTRARES,Url=/s/sourcesanspro/v12/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdo.woff,Referer=/css?family=Source+Sans+Pro:300,400,600,400italic,ENDITEM,LAST);lr_think_time(8);web_link(鏂囩xAB ,Text=鏂囩xAB ,Snapshot=t4.inf,LAST);lr_think_time(127);lr_think_time(15);web_custom_request(query_by_page.json,URL=/ar

6、ticle/info/query_by_page.json,Method=POST,Resource=0,RecContentType=application/json,Referer=/article/info/index.html,Snapshot=t6.inf,Mode=HTML,EncType=application/json;charset=UTF-8,Body=pageNumber:1,pageSize:20,sortOrder:desc,sortName:createTime,search:searchLike:,EXTRARES,Url=/chinaedition/addons

7、/livemargins/update.rdf?version=5.6.3,Referer=,ENDITEM,LAST);web_url(new.html,URL=/article/info/new.html,Resource=0,RecContentType=text/html,Referer=/article/info/index.html,Snapshot=t7.inf,Mode=HTML,EXTRARES,Url=/vendor_extends/ueditor/themes/default/css/ueditor.css,ENDITEM,Url=/vendor_extends/uedi

8、tor/jsp/controller.jsp?action=config&noCache=1555581059754,ENDITEM,Url=/vendor_extends/ueditor/themes/default/images/icons.png,Referer=/vendor_extends/ueditor/themes/default/css/ueditor.css,ENDITEM,Url=/vendor_extends/ueditor/themes/default/images/scale.png,Referer=/vendor_extends/ueditor/themes/def

9、ault/css/ueditor.css,ENDITEM,Url=/vendor_extends/ueditor/themes/iframe.css,Referer=,ENDITEM,Url=/vendor_extends/ueditor/third-party/codemirror/codemirror.js,ENDITEM,Url=/vendor_extends/ueditor/third-party/codemirror/codemirror.css,ENDITEM,Url=/vendor_extends/ueditor/third-party/zeroclipboard/ZeroCli

10、pboard.js,ENDITEM,Url=/vendor_extends/ueditor/third-party/zeroclipboard/ZeroClipboard.swf?noCache=1555581061828,ENDITEM,LAST);lr_think_time(106);web_custom_request(save.json,URL=/article/info/save.json,Method=POST,Resource=0,RecContentType=application/json,Referer=/article/info/new.html,Snapshot=t8.

11、inf,Mode=HTML,EncType=application/json;charset=UTF-8,Body=id:,title:This is a title,author:admin,src:鏈珯,keywords:Key words,parentChannelCode:xqyz,pubTime:2019-04-18,summary:This is a digest,content:detailed contents,editorValue:detailed contents,LAST);lr_think_time(33);web_custom_request(save.json_2

12、,URL=/article/info/save.json,Method=POST,Resource=0,RecContentType=application/json,Referer=/article/info/new.html,Snapshot=t9.inf,Mode=HTML,EncType=application/json;charset=UTF-8,Body=id:,title:This is a title,author:admin,src:鏈珯,keywords:Key words,parentChannelCode:xqyz,pubTime:2019-04-18,summary:

13、This is a digest,content:detailed contents,editorValue:detailed contents,LAST);lr_think_time(7);web_url(index.html_2,URL=/article/info/index.html,Resource=0,RecContentType=text/html,Referer=/article/info/new.html,Snapshot=t10.inf,Mode=HTML,LAST);lr_think_time(15);web_custom_request(query_by_page.json_2,URL=/article/info/query_by_page.json,Method=POST,Resource=0,RecContentType=application/json,Referer=/article/info/index.html,Snapshot=t11.inf,Mode=HTML,EncType=application/json;charset=UTF-8,Body=pageNumber:1,pageSize:20,sortOrder:des

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论