Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jmeter Wiki" for change notification.
The "httpclient.socket.http.cps_examples" page has been changed by Philippe Mouawad: https://wiki.apache.org/jmeter/httpclient.socket.http.cps_examples?action=diff&rev1=2&rev2=3 Comment: Clarify and fix some typos - == How to simulate network bandwidth with httpclient.socket.http.cps and httpclient.socket.https.cps propertie? == + == How to simulate network bandwidth in JMeter? == + JMeter let's you simulate network bandwidth very easily. + - === Where to define the network bandwith? === + === Where to define the network bandwidth? === - In jmeter.properties and/or user.properties we can read + In jmeter.properties we can read: {{{#!properties # Define characters per second > 0 to emulate slow connections @@ -12, +14 @@ === How to modify network bandwith? === cps values are calculated with this formula : - cps = (target bandwidth in kbps * 1024) / 8 + * cps = (target bandwidth in kbps * 1024) / 8 - === Some examples === + === Some examples: === ||'''Network bandwidth''' ||'''cps value''' || ||Mobile data GPRS : 171 kbit/s ||21888 || ||Mobile data EDGE : 384 kbit/s ||49152 || @@ -34, +36 @@ ||ADSL2 : 12 Mbit/s ||1536000 || ||ADSL2+ : 24 Mbit/s ||3072000 || + + === Configuration summary: === + 1. Ensure you use HttpClient 3.1 or HttpClient 4 implementations + 1. Configure bandwidth by defining the 2 properties above in <jmeter home>/bin/user.properties +
