最近做压力测试,因为服务器只是一台PC机,配置也不是太好,所以测试过程很艰难。有几个问题很不解:
1、HTTP请求连接超时、HTTP请求接收超时、步骤下载超时,这几个时间我都设成了最大值,但还是不能顺利跑完。
2、其中跑了一次,结果如下图。又是“通过”,又是“错误”和“失败”,这种情况该如何分析呢?
错误的消息都是类似这样:
“错误: Vuser started transaction "生成批文保存", but did not reached a corresponding end transaction statement. The transaction
ended automatically with status 'fail'.”
但是我去检查跑完后的实际结果又是没问题的。
“错误: Vuser started transaction "生成批文保存", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.
通知: Transaction "生成批文保存" ended with "Fail" status (Duration: 1.5464).”