PerformanceTest

所属分类:Windows编程
开发工具:Python
文件大小:4KB
下载次数:1
上传日期:2019-04-27 14:51:12
上 传 者但丁1
说明:  在python2.7环境下,对输入的网址进行压力测试、连接速度及下载速度测试 其中1.压力测试:对某个web页面短时间内有大量用户访问(并行实现),对其连接成功个数、连接失败个数、响应异常个数、响应时间超过2s的个数进行统计,并输出最大、最小响应时间及连接的平均时间; 2.连接速度测试:对指定打开web进行响应速度测试,多次连接统计总响应时间,平均响应时间等性能指标 3.下载速度测试:对某指定的web下载一定量的数据(本实验中为.jpg格式的图片,默认路径在D盘DS文件夹下),多次进行下载并统计总下载时间,最大、最小下载时间及平均下载时间等性能指标 以上结果存放在程序同目录下的.xls文件中(样本见压缩包) 使用说明:按程序提示输入(注意输出文件打开时程序无法进行写入)
(In Python 2.7 environment, stress test, connection speed test and download speed test of the input web site 1. Stress testing 2. Connection Speed Testing 3. Download speed test The above results are stored in. XLS files in the same directory of the program (see compressed package for sample) Instructions for Use: Input according to program prompt (note that the program cannot write when the output file is opened))

文件列表:
TestOutcome.xls (5632, 2018-12-25)
test.py (8306, 2018-12-25)

近期下载者

相关文件


收藏者