Reputation: 31
I have to test performance of project with 20kbps and 40kbps using Jmeter.
I am digging how to set up bandwidth in Jmeter.
Please help me how to set up it in Jmeter.
Will the below configuration control bandwidth thing?
Or any other configuration is there?
# Define characters per second > 0 to emulate slow connections
httpclient.socket.http.cps=1024
httpclient.socket.https.cps=1024
Thanks.
Upvotes: 3
Views: 3370
Reputation: 4137
From here.
To emulate a bandwidth of, say 100kbps, define a CPS of
( 100 * 1024 ) / 8, i.e. 100kB divided by 8, so, that would be
httpclient.socket.http.cps=12800.
Then refer to your summary listener for confirmation this is working.
Upvotes: 2
Reputation: 7707
We always used a 3rd party tool to throttle bandwidth during performance testing, as Jmeter doesn't have a good way to do this.
Upvotes: 0