上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 50 下一页
摘要: 代码如下:vuser_init(){lr_save_string("11041331\",\"11041372\",\"11041373\",\"11041374","OrderNo");lr_output_message("%s", lr_eval_string("{OrderNo}"));ret... 阅读全文
posted @ 2015-10-31 17:20 Agoly 阅读(427) 评论(0) 推荐(1)
摘要: http://blog.sina.com.cn/s/blog_7ee076050102vamg.htmlhttp://www.cnblogs.com/lixiaohui-ambition/archive/2012/07/18/2598042.html intin=0; intj; charbuffe... 阅读全文
posted @ 2015-10-31 15:39 Agoly 阅读(583) 评论(0) 推荐(0)
摘要: 下面函数的作用:http://blog.csdn.net/hgj125073/article/details/8447605通过-与: 字符切割字符串,即-与:字符已经被\0 字符取代 chars[]="ab-cd:ef;gh:i-jkl;mnop;qrs-tu:vwx-y;z"; char*del... 阅读全文
posted @ 2015-10-31 14:44 Agoly 阅读(1633) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-10-31 14:00 Agoly 阅读(8) 评论(0) 推荐(0)
摘要: 跳出for循环主要有以下2中方式:1、用break语句。如:inti;for(i=0;i3)//如果i>3,跳出for循环,执行printf语句break;}printf("%d",i);2、用return语句(一般用在函数体中,作为函数的返回值跳出该函数,也即跳出了函数体中的for循环)intfu... 阅读全文
posted @ 2015-10-30 12:44 Agoly 阅读(344) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-10-30 12:44 Agoly 阅读(1) 评论(0) 推荐(0)
摘要: 1、DownloadFilters功能帮助在回放脚本的时候对某些特定的访问进行屏蔽,解决页面读取中跨服务器带来数据影响的问题。过滤规则中有3中策略,即URL、Host、HostSfx区别于:URL是对一个固定地址的,无法通配,只能写一个固定的地址。Host是主机,你写一个主机名就可以过滤所有这个主机... 阅读全文
posted @ 2015-10-30 12:43 Agoly 阅读(528) 评论(0) 推荐(0)
摘要: String Function包括lr_advance_param指向参数文件中参数的下一个值。lr_convert_string_encoding将字符串转换为其他编码。lr_decrypt解密加密后的字符串。lr_eval_string更新argument的内嵌parameter值后,返回字符串... 阅读全文
posted @ 2015-10-30 12:43 Agoly 阅读(809) 评论(0) 推荐(0)
摘要: lr_save_string 和 sprintf 的使用一、lr_save_string 使用介绍1.该函数主要是将程序中的常量或变量保存为lr中的参数。格式://将常量保存为参数lr_save_string("777","page");web_url(http://www.sina.com.cn/... 阅读全文
posted @ 2015-10-29 14:46 Agoly 阅读(537) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-10-27 14:02 Agoly 阅读(12) 评论(0) 推荐(0)
摘要: 一。检查点的手动添加2.关联手工添加: 阅读全文
posted @ 2015-10-27 13:40 Agoly 阅读(275) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-10-26 13:31 Agoly 阅读(6) 评论(0) 推荐(0)
摘要: 方法一: intnum; charnameVar[100]; charnameValue[100]; lr_save_string("AAA","name_1"); lr_save_string("BBB","name_2"); lr_save_string("CCC","name_3"); lr_... 阅读全文
posted @ 2015-10-24 17:44 Agoly 阅读(1356) 评论(0) 推荐(0)
摘要: 使用LoadRunner做性能测试,一般的直觉是LR只能完成脚本录制和编写模拟用户的请求行为,但是在某些情况下,要监控一些中间件或web服务器的性能时,就不能通过录制脚本来完成了,那么就需要手工来编写脚本,通过LR自带的lr_user_data_point(“”,””)打点函数进行自定义的监控其性能... 阅读全文
posted @ 2015-10-23 11:12 Agoly 阅读(878) 评论(0) 推荐(1)
摘要: LoadRunner常见函数分析?%Ze\N%?~"_J}.t051Testing软件测试网;FQ X%L|GO+RWeb用户Action51Testing软件测试网b,Q8iO w1j Y1^Ta r@Uy0 在VuGen中,脚本产生的默认模式是基于HTML的--... 阅读全文
posted @ 2015-10-23 11:12 Agoly 阅读(265) 评论(0) 推荐(0)
摘要: Loadrunner的自定义监控器可以使用lr_user_data_point()来实现自定义监控,下面是一个小例子:double showsomething();Action(){ double val; val = showsomething(); for(;;) { lr_user_data... 阅读全文
posted @ 2015-10-23 11:12 Agoly 阅读(255) 评论(0) 推荐(0)
摘要: LoadRunner下载文件脚本 在看普泽关于pezybase的测试报告的时候,发现里面有用到jmeter(http协议)并发测试下载文件,考虑到后面可能需要在公司pezybase的并发下载,把之前使用过的loadrunner下载文件脚本重新运行和整理一下。 一、http协议 loadrunne... 阅读全文
posted @ 2015-10-23 11:12 Agoly 阅读(3167) 评论(3) 推荐(0)
摘要: loadrunner比较有用的字符串函数******************************************************************************** strcat的串连两个字串。1)strcat char *strcat ( char *t... 阅读全文
posted @ 2015-10-23 11:10 Agoly 阅读(1267) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-10-23 11:08 Agoly 阅读(1715) 评论(0) 推荐(0)
摘要: 安装Robomongo图形化管理工具Robomongo是一个基于 Shell 的跨平台开源 MongoDB 管理工具。嵌入了 JavaScript 引擎和 MongoDB mogo 。只要你会使用 mongo shell ,你就会使用 Robomongo。提供语法高亮、自动完成、差别视图等Robom... 阅读全文
posted @ 2015-10-23 11:08 Agoly 阅读(461) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 50 下一页