Jmeter - Throughput shaping timer - sending more requests than expected

I'm using jmeter throughput shaping timer to send .011 reqs per sec. so I have given Start RPS as .011, end RPS as .011 and Duration as 300 secs. As per my understanding for that duration only 3 requests should happen but it sends 1 request per second.

ThroughputshapingTimer Thread group Expected - 3 hits for 300 secs Actual - morethan 200 hits per 300 secs duration.

Upvotes: 0

Views: 162

Answers (2)

Always use FlowActionController if some FTP connections or API calls are made from Pre or PostProcessors.

Upvotes: 0

Sahas
Sahas

Reputation: 1

Throughput shaping timer might not work properly if some connections such as FTP etc are left open when the samplers are done with the execution. Ensure that the connections are being closed. Also, avoid using System.out.println statements in the samplers/postprocessors.

Upvotes: 0

Related Questions