jmeter - 从机请求成功,但主机响应正文为空

标签 jmeter performance-testing load-testing distributed jmeter-5.0

步骤:
1.通过文档配置jmeter主机和从机
2.分布式运行jmeter
3. 在查看结果树中查看结果

结果:
1. 请求显示成功,但查看结果树中响应体为空
2.在从站我检查了jmeter-server.log,但没有错误

Empty reponse

最佳答案

分布式模式下的JMeter,默认doesn't send response data为了消耗更少的内存并且不影响性能

Listeners in the test plan send their results back to the client JMeter which writes the results to the specified files By default, samples are sent back synchronously as they are generated. This can affect the maximum throughput of the server test

如果您想查看结果,则需要将模式更改为标准

mode sample sending mode - default is StrippedBatch

Standard send samples synchronously as soon as they are generated

或者不是剥离模式,如 Batch

Stripped mode family strips responseData so this means that some Elements that rely on the previous responseData being available will not work.

关于jmeter - 从机请求成功,但主机响应正文为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57601482/

相关文章:

Azure Devops + JMeter - 始终生成 html 报告?

Jmeter 命令行到汇总报告中的 "save table data"

testing - JMeter 线程属性说明

python - Funkload 和 cookie

performance - 用JMeter记录移动IOS/Android应用的HTTPS请求

wcf - 同一服务器内 WCF Web Services 的通信时间长

performance - 限制WebSocket的网络速度

floating-point - float128 类型的性能基准?

scala - 在 Ga特林 中设置异步调用超时

testing - JMeter 通过、失败、警告?