2024年最新测试学习篇——AB工具,服务器压力测试(1),2024年最新软件测试校招面试经验汇总

avatar
作者
猴君
阅读量:3

img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取

Completed 10000 requests

Completed 15000 requests

Completed 20000 requests

Completed 25000 requests

Completed 30000 requests

Completed 35000 requests

Completed 40000 requests

Completed 45000 requests

Completed 50000 requests

Finished 50000 requests

Server Software:        Apache-Coyote/1.1

Server Hostname:        127.0.0.1

Server Port:            8090

Document Path:          /login.action?username=0

Document Length:        49 bytes

Concurrency Level:      1200

Time taken for tests:   6.310 seconds

Complete requests:      50000

Failed requests:        0

Write errors:           0

Total transferred:      7595451 bytes

HTML transferred:       2464749 bytes

Requests per second:    7924.43 [#/sec] (mean)

Time per request:       151.430 [ms] (mean)

Time per request:       0.126 [ms] (mean, across all concurrent requests)

Transfer rate:          1175.58 [Kbytes/sec] received

Connection Times (ms)

min  mean[+/-sd] median   max

Connect:        0   76 142.3     57    1061

Processing:    14   72  21.8     72     267

Waiting:        1   54  18.4     53     252

Total:         36  148 145.7    133    1186

Percentage of the requests served within a certain time (ms)

50%    133

66%    144

75%    150

80%    153

90%    162

95%    172

98%   1087

99%   1127

100%   1186 (longest request)

ab -c 1200 -t 60 http://localhost:8090/login.action?username=0&password=e10adc3949ba59abbe56e057f20f883e

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

3.参数解析

-n 1000:请求总数为1000(和-t同时出现时无效)

-c 100:并发总数为100

http://localhost:8090/login.action?username=0&password=e10adc3949ba59abbe56e057f20f883e:写请求的目标URL

-t 60:请求时间为60s

ab -c 1200 -t 60 http://localhost:8090/login.action?username=0&password=e10adc3949ba59abbe56e057f20f883e-------1200个并发用户执行60s

ab -n 7500000 -c 1200 http://localhost:8090/login.action?username=0&password=e10adc3949ba59abbe56e057f20f883e-------1200个并发用户发起7500000次请求(约并发十分钟)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

4.测试结果解析

img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取

软件测试知识点,真正体系化!**

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取

广告一刻

为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!