一种方式请求,没有响应

时间:2017-04-06 14:49:34

标签: jmeter

通常,JMeter发送HTTP请求并等待响应以测量响应时间,然后发送下一个请求。

我有一种情况,他们已经为嵌入式软件设备创建了一个HTTP端点。但它只是单向流量,这意味着我发送了一个HTTP请求,但嵌入式设备没有发送响应。这是意图以及它应该如何运作。

JMeter是否有可能不等待响应而只是发送下一个请求?

1 个答案:

答案 0 :(得分:0)

A way to do it is to set a Response timeout on the HTTP Request and add an assertion to ignore response timeout.

enter image description here

1 second for response timeout in HTTP Request:

enter image description here

And adding a Response Assertion that ignores status and expects a Timeout:

enter image description here

But this is not very clean.

相关问题