51Testing软件测试论坛

标题: JMeter 测打开网页失败的问题 [打印本页]

作者: thisisjingjing    时间: 2012-7-10 16:59
标题: JMeter 测打开网页失败的问题
我建立了一个Http request,打开一个不存在的网页,结果当然是出错,出错代码404. 但是这就是我要的结果,怎么让测试结果里面这一步是显示通过,而不是失败呢。我添加了assertion也没有用,虽然assertion是通过的,但是这个http request这一步就是显示失败。
作者: thisisjingjing    时间: 2012-7-10 17:33
这个问题的答案我已经找到啦:

add a response assertion
ensure 'ignore status' is ticked
add 404 to the 'patterns to test'
作者: thisisjingjing    时间: 2012-7-10 17:33
这个问题的答案我已经找到啦:

add a response assertion
ensure 'ignore status' is ticked
add 404 to the 'patterns to test'
作者: thisisjingjing    时间: 2012-7-10 17:34
这个问题的答案我已经找到啦:

add a response assertion
ensure 'ignore status' is ticked
add 404 to the 'patterns to test'
作者: thisisjingjing    时间: 2012-7-10 17:34
这个问题的答案我已经找到啦:

add a response assertion
ensure 'ignore status' is ticked
add 404 to the 'patterns to test'
作者: 薄樱鬼寂    时间: 2014-3-28 11:03
???




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2