2013年10月7日

摘要: Jmeter的log输出控制(jmeter.log)log_level.jmeter=ERROR log_level.jmeter.junit=DEBUG 在jmeter.properties中,修改Jmeter的日志级别为:ERROR, 否则产生巨大的日志文件jmeter.log,如果是需要查看详细的调试信息,可以将log_level.jmeter设置为DEBUG对于断言,如果想打印更加详细的自定义日志到jmeter.log,可以这样做:添加一个BeanShell Assertion,script这样填写:import org.apache.log4j.Logger;if (incremen 阅读全文
posted @ 2013-10-07 15:02 张缤分 阅读(17082) 评论(0) 推荐(1)
摘要: Jmeter发送某个request时而成功,时而失败Maybe it’s Jmeter’s problem, after all, is not a commercial software.And also, it is possible that the test environment of server has some problem, for this kind of command that sometimes succeed, sometimes failed,I can only try to send the request for many times, for examp 阅读全文
posted @ 2013-10-07 10:50 张缤分 阅读(1179) 评论(0) 推荐(0)

导航