步骤:
1.通过文档配置jmeter主机和从机
2.分布式运行jmeter
3. 在查看结果树中查看结果
结果:
1. 请求显示成功,但查看结果树中响应体为空
2.在从站我检查了jmeter-server.log,但没有错误
最佳答案
分布式模式下的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/