开发者

Jmeter Sample Increment vs Throughput

We're running a load test right now in JMeter viewing the Aggregate Report page. While we watch, Samples are increasing by nearly 500/second the number is going up very fast. However, throughput on the same page stays pegged at 18/sec开发者_运维技巧ond and our error rate is not increasing.

How can jmeter be sending so many samples if our server is only handling 18/second and the # of errors is not increasing (we only have 20 errors out of millions of samples).

Do requests equate to samples (they seem to)? Are we missing something?


If you add a "View Results Tree" Listener you can see EACH request and response - and you should check if the responses are what you actually want.

And in the "View Results in Table" Listener compare the Bytes for each response. Does it match the size in all cases?

In cases of errors or incorrect responses - these will be different.


Requests DO equal samples.

Throughput is the number of requests per unit of time (seconds, minutes, hours) that are sent to your server during the test. The aggregate report is number of requests that hit the server PER HOUR.

Remember that almost all errors are user defined. Using JoseK's recommendation, install the View Results Tree to see what your responses actually are. If they are green, but fail your own criteria, add assertions to turn them into errors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜