📜  耐力测试

📅  最后修改于: 2020-12-04 06:12:06             🧑  作者: Mango


什么是耐力测试?

执行耐久性测试(也称为浸泡测试)以确定被测应用程序是否可以承受连续负载。

耐久性测试(非功能性测试)涉及检查系统是否可以长时间承受巨大负载,从而测量系统的反应参数。

发现的问题-耐力测试

  • 严重的内存泄漏,最终会导致应用程序或操作系统崩溃

  • 无法关闭系统各层之间的连接可能会使系统的某些或所有模块停顿。

  • 在某些情况下无法关闭数据库连接可能会导致整个系统崩溃。

  • 由于长时间的测试,随着应用程序效率的降低,系统的响应时间逐渐降低。

例:

A system may behave as expected when tested for about 2 hours but when the same system is tested for 5 hours or even more than that, the problems such as memory leaks cause the system to fail or behave randomly or even the application might crash.