jmeter 模拟网络带宽的设置
来源:互联网 发布:asp数据库导出excel 编辑:程序博客网 时间:2024/05/07 00:15
转自:http://wiki.apache.org/jmeter/Controlling%20Bandwidth%20in%20JMeter%20to%20simulate%20different%20networks
How to simulate network bandwidth in JMeter?
JMeter let's you simulate network bandwidth very easily.
Where to define the network bandwidth?
In jmeter.properties we can read:
# Define characters per second > 0 to emulate slow connections#httpclient.socket.http.cps=0#httpclient.socket.https.cps=0
How to modify network bandwith?
cps values are calculated with this formula :
- cps = (target bandwidth in kbps * 1024) / 8
Some examples:
Network bandwidth
cps value
Mobile data GPRS : 171 kbit/s
21888
Mobile data EDGE : 384 kbit/s
49152
Mobile data HSPA : 14,4 Mbp/s
1843200
Mobile data HSPA+ : 21 Mbp/s
2688000
Mobile data DC-HSPA+ : 42 Mbps
5376000
Mobile data LTE : 150 Mbp/s
19200000
WIFI 802.11a/g : 54 Mbit/s
6912000
WIFI 802.11n : 600 Mbit/s
76800000
Ethernet LAN ; 10 Mbit/s
1280000
Fast Ethernet : 100 Mbit/s
12800000
Gigabit Ethernet : 1 Gbit/s
128000000
10 Gigabit Ethernet : 10 Gbit/s
1280000000
100 Gigabit Ethernet : 100 Gbit/s
12800000000
WAN modems V.92 modems : 56 kbit/s
7168
ADSL : 8 Mbit/s
1024000
ADSL2 : 12 Mbit/s
1536000
ADSL2+ : 24 Mbit/s
3072000
Configuration summary:
Ensure you use HttpClient 3.1 or HttpClient 4 implementations
Configure bandwidth by defining the 2 properties above in <jmeter home>/bin/user.properties
Author:
Antonio Gomes Rodrigues- jmeter 模拟网络带宽的设置
- 网络带宽的单位
- 网络带宽的评估
- 网络带宽
- jmeter设置快捷键的方法
- jmeter中集合点的设置
- 网络带宽与网速的关系
- 网络带宽利用率的一般计算方法
- 优化STB&TV的网络带宽
- BP神经网络的网络带宽预测
- 设置的JMeter 2.6在Mac
- JMeter的堆大小如何设置?
- jmeter中类似lr的场景设置
- 使用Jmeter模拟浏览器
- jmeter模拟tcp请求
- 用JMeter模拟5万用户的访问量
- 设置Jmeter的maven依赖,及maven编译的设置
- 网络带宽与下载速度的误解
- python 多线程
- Spring+Mybatis+Tomat多数据源(mysql+sql server)与atomikos分布式事务配置
- 一年的软件测试生涯
- pdf文档格式转换器应用
- struts2文件上传下载详解
- jmeter 模拟网络带宽的设置
- new出来的对象一定要delete
- 修改DB2服务器的主机名
- centos下tomcat不能使用80端口的问题
- java语言中的关键字
- string 管理 char 数组, 摆脱new delete
- linux 查看电脑配置信息
- c# 微信支付,问题及解决
- 运用JS设置cookie、读取cookie、删除cookie