软件测试____性能面试题_____性能测试的bug(Software testing____ Performance interview questions_____ Performance test bug)

1.在做压力测试的时候,吞吐量tps上不去,原本的TPS标准是要达到400/sec,但是实际压测只有50多的tps,后面发现是数据库的磁盘空间满了,导致查询速度和请求速度过慢,然后我让我们后端开发同事把数据库的磁盘清理一下就恢复正常了。

2.我在压测(修改密码,新建用户,投保用户列表接口,保单管理接口,支付接口,保单查询接口,查看险种接口,投保接口)接口的时候【这里面接口自己选一个】,平均响应时间在10s左右,不符合性能指标3s后来发现:原因是接口通过redis,每次请求redis都会初始化。后面怎么解决的:在测试环境增加路由配置之后,这个问题就解决了

————————

1. During the stress test, the throughput TPS failed. The original TPS standard was to reach 400 / sec, but the actual pressure test only had more than 50 TPS. Later, it was found that the disk space of the database was full, resulting in too slow query speed and request speed. Then I asked our back-end development colleagues to clean up the disk of the database and return to normal.

2. During the pressure test (password modification, new user creation, insured user list interface, policy management interface, payment interface, policy query interface, view insurance type interface and insurance interface), the average response time was about 10s, which did not meet the performance index for 3S. Later, it was found that the reason was that the interface passed redis, Redis is initialized every time it is requested. How to solve the problem later: this problem is solved after adding routing configuration to the test environment