摘要: 自动货构建更新系统、测试、收集分析数据、发送报告 需要进行三类测试:并发测试、压力测试、负载测试 需要得到指标:请求成功比例、tps、交易成功率、响应时间的均值和异常值比例、服务器的CPU、内存使用率 阅读全文
posted @ 2018-04-08 15:15 caojuanshu 阅读(236) 评论(0) 推荐(0)
摘要: 错误处理方式: 1 停止执行脚本 2 忽略错误,继续执行 run time setting中-勾选 continue on error 出错后继续运行,适用于整个脚本,是全局开关 脚本中使用lr_continue_on_error函数 lr_continue_on_error(1); 将contin 阅读全文
posted @ 2018-04-04 11:25 caojuanshu 阅读(145) 评论(0) 推荐(0)
摘要: 检查点 check point 作用:是验证程序的运行结果是否与预期结果相符 定义: 1 vuser-run time settings-contentcheck 这里的设置是为了让vugen检测哪种页面是错误页面,如果被测的web应用没有使用自定义错误页面,这里不用更改,如果使用了自定义的错误页面 阅读全文
posted @ 2018-04-04 11:07 caojuanshu 阅读(217) 评论(0) 推荐(0)
摘要: 在录制程序运行的过程中,Vugen(脚本生成器)自动生成了脚本以及录制过程中实际用到的数据。在这个时候,脚本和数据是混在一起的。 在登录操作中,很明显xpj与123123是填入的数据,如果Controller里以多用户方式运行这个脚本的时候,每个虚拟用户都会以同样的用户名"robin"、密码"123 阅读全文
posted @ 2018-04-04 10:16 caojuanshu 阅读(757) 评论(0) 推荐(0)
摘要: 在每个负载生成器上,安装 remote agent dispatcher(process) 和 loadrunner agent 控制器指示remote agent dispatcher 在load generator 上运行程序 Agent 负责controller和load generator之 阅读全文
posted @ 2018-04-03 14:25 caojuanshu 阅读(109) 评论(0) 推荐(0)
摘要: 事务 在LoadRunner里,我们定义事务主要是为了度量服务器的性能。每个事务度量服务器响应指定的Vuser请求所有的时间,这些请求可以是简单任务,也可以是复杂任务。 要度量事务,需要插入Vuser函数以标记任务的开始和结束。在脚本内,可以标识的事务不受数量限制,每个事务的名称都不同。 在场景执行 阅读全文
posted @ 2018-03-30 17:26 caojuanshu 阅读(385) 评论(0) 推荐(0)
摘要: Action.c(1516): Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the "Step Timeout caused by resources 阅读全文
posted @ 2018-03-29 16:50 caojuanshu 阅读(194) 评论(0) 推荐(0)
摘要: 1 srs2 what to test3 establish guidelines on how this deliverable is to be presented , the template4 decide on whether each member of the team is goin 阅读全文
posted @ 2018-03-29 16:24 caojuanshu 阅读(245) 评论(0) 推荐(0)
摘要: 1 check for sql injection attacks2 secure pages should use https protocol3 page crash should not reveal application or server info . Error page should 阅读全文
posted @ 2018-03-29 16:23 caojuanshu 阅读(133) 评论(0) 推荐(0)
摘要: 1 check if page load time is within acceptable range2 check page load on slow connections 3 check response time for any action under light, normal, mo 阅读全文
posted @ 2018-03-29 16:22 caojuanshu 阅读(136) 评论(0) 推荐(0)