上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 87 下一页

2016年7月7日

摘要: 参考《Search & Replace function for LoadRunner》: http://ptfrontline.wordpress.com/2009/03/13/search-replace-function-for-lr/ LoadRunner中没有直接的函数支持查找并替换字符串 阅读全文
posted @ 2016-07-07 21:47 帅胡 阅读(505) 评论(0) 推荐(0) 编辑
摘要: LoadRunner中有lr_save_int() 和lr_save_string() 函数,但是没有保存浮点数到变量的lr_save_float函数。《lr_save_float() function for LoadRunner》这篇文章介绍了如何写一个这样的函数: http://ptfront 阅读全文
posted @ 2016-07-07 21:44 帅胡 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 参考《SHA-1 hash for LoadRunner》: http://ptfrontline.wordpress.com/2010/03/02/sha-1-hash-for-loadrunner/ 包含SHA1算法的头文件sha1.h: /* ************************* 阅读全文
posted @ 2016-07-07 21:42 帅胡 阅读(953) 评论(0) 推荐(0) 编辑
摘要: 《Base64 Encode/Decode for LoadRunner》这篇文章介绍了如何在LoadRunner中对字符串进行Base64的编码和解码: http://ptfrontline.wordpress.com/2009/09/30/base64-encodedecode-for-load 阅读全文
posted @ 2016-07-07 21:40 帅胡 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 通过JConsole监控Tomcat 1、打开tomcat5的bin目录中的catalina.bat文件,在头部注释部分的后面加上: set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.manage 阅读全文
posted @ 2016-07-07 21:35 帅胡 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Google的搜索框是典型的AJAX应用,用户在输入关键字的同时,前端页面通过xmlhttp与后台服务器动态交互,根据用户输入的关键字查找匹配的内容,向用户提示建议的搜索项,也就是所谓的“google suggest”。 如果使用LoadRunner进行测试,采用AJAX(Click and Scr 阅读全文
posted @ 2016-07-07 21:31 帅胡 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 什么是AJAX? Ajax, shorthand for Asynchronous JavaScript and XML, is a web development technique for creating interactive web applications. The intent is 阅读全文
posted @ 2016-07-07 21:27 帅胡 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 一般情况下,我们都是通过Run-Time Settings来设置Think Time(思考时间),可以设置回放脚本时忽略思考时间,或者是设置回放随机的一段思考时间。 By default, when you run a Vuser script, the Vuser uses the think t 阅读全文
posted @ 2016-07-07 21:24 帅胡 阅读(449) 评论(0) 推荐(0) 编辑
摘要: Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s) [MsgId: MERR-27728] LR默认使用120秒作为每一个HTTP请求连接和接收和timeout时 阅读全文
posted @ 2016-07-07 21:21 帅胡 阅读(694) 评论(0) 推荐(0) 编辑
摘要: LR在WebService虚拟用户协议中支持两种方式测试WebService,一种是通过“Add Service Call”的方式,一种是Import SOAP的方式。 Import SOAP的方式需要导入定义好的XML请求文件。 取到WebService返回的XML数据后,可以使用XPath的方式 阅读全文
posted @ 2016-07-07 21:14 帅胡 阅读(677) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 87 下一页

导航