简体   繁体   English

Jmeter TCP采样器发送请求而不等待应答

[英]Jmeter TCP Sampler send request without waiting answer

I have a question about the TCP Sampler: is there a way to send a TCP request, and continue the next action without waiting for an answer? 我有一个关于TCP采样器的问题:有没有办法发送TCP请求,并继续下一步操作而不等待答案?

I want to do that because i send a "pong" request, and if this "pong" get a response doesn't work well the test. 我想这样做,因为我发送了一个“乒乓”请求,如果这个“乒乓”得到回应,那么测试就不行。
The response of the "pong" (that i don't want to receive) is expected to be received by another sampler. “pong”(我不想收到)的响应预计会被另一个采样器接收。

You have the option of writing your own implementation of: 您可以选择编写自己的实现:

Which would return an empty array or something else in read method. 哪个会在read方法中返回一个空数组或其他内容。

Feel free to contribute it if you do so, also feel free to ask a question on jmeter user mailing list, we might open a bugzilla for it as an enhancement request. 如果您这样做,请随意提供,也可以随意在jmeter用户邮件列表上提问,我们可能会为它提供一个bugzilla作为增强请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM