我有以下情况:
Thread group1 - this sends requests to a server (lots of threads and iterations)
HTTP Request
Thread group2 - 1 thread 1 iterations
JSR223 sampler (has a while loop which periodically check if a number is 0) and collects some times当线程组2完成时,场景就结束了。
我使用非GUI模式运行上述场景,并对RPS感兴趣。(如下面所示,222.0/s),但只适用于第一个threadGroup。
summary = 50002 in 00:03:29 = 222.0/s Avg: 4151 Min: 38 Max: 797601 Err: 0 (0.00%)现在,当最后一个threadGroup结束时,我将拥有:
summary = 50003 in 00:09:12 = 90.7/s Avg: 4136 Min: 38 Max: 797601 Err: 0 (0.00%)RPS现在很低,这只是因为最后一个threadGroup需要很长时间才能完成。
有没有办法不把上次threadGroup的时间考虑在内的总时间呢?或者用另一种方法来解决这个问题。
发布于 2018-02-22 10:16:13
可以使用jmeter.reportgenerator.sample_filter属性将JSR223 Sampler从报表中排除在外。
ALL-RESULTS文件夹。FILTERED-RESULTS采样器创建HTTP Request文件夹(或任何其他示例程序,只排除JSR223 Sampler)。更多信息:
https://stackoverflow.com/questions/48888976
复制相似问题