Jmeter发送某个request时而成功,时而失败(处理办法:失败的时候尝试重新发送这个HTTP request)

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 example, send five times in a row, as long as one success, we can regard it as OK.

为了要实现连续发送HTTP request N次,只要有一次成功,就认为是成功了,不再继续发送,用Jmeter实现如下:

Jmeter发送某个request时而成功,时而失败(处理办法:失败的时候尝试重新发送这个HTTP request)_第1张图片

Jmeter发送某个request时而成功,时而失败(处理办法:失败的时候尝试重新发送这个HTTP request)_第2张图片

Jmeter发送某个request时而成功,时而失败(处理办法:失败的时候尝试重新发送这个HTTP request)_第3张图片

Jmeter发送某个request时而成功,时而失败(处理办法:失败的时候尝试重新发送这个HTTP request)_第4张图片

 

你可能感兴趣的:(request)