Simulate Network Bandwidth

What if we want to run test on local LAN but need simulation of internet bandwidth or wireless bandwidth?






1. Go to JMeter_HOME/bin folder, open jmeter.properties

2. Search for httpclient.socket.http.cps=0

3. Uncomment that line and enter your desired bandwidth to simulate

4. If application is under https protocol then uncomment httpclient.socket.https.cps=0

5. Before entering your value in CPS (Character per second), use the below formula to convert kbps to cps.


                                           Formula: (desired bandwidth*1024)/8 

Here are some popular bandwidth presets:





No comments:

Post a Comment