软件测试中的 Soak testing 是什么意思,如何做的?

发布网友 发布时间:2022-04-23 16:39

我来回答

2个回答

热心网友 时间:2022-05-03 01:13

浸泡测试(soak test):Soak test是在一个稳定的并发用户上进行的long run测试,用来测试应用程序的健壮性。通过soak test往往可以发现内存泄露,频繁 GC
等严重性能问题。进行soak test需要注意以下两点:
Soak test需要在一定适中的用户负载量下进行,最好低于应用支持最大的负载量。
在执行long run测试时,采用几种不同用户组,并且每个用户组织性不同的业务流程。

Soak
test实际上比较简单的性能测试,测试最好能够运行几天,以真正得到一个健壮的应用。确保应用测试是贴近真实世界,尽量与实际使用情况接近。

Soak testing involves testing a system with a significant load extended over a significant period of time, to discover how the system behaves under sustained use.
For example, in software testing, a system may behave exactly as expected when tested for 1 hour. However, when it is tested for 3 hours, problems such as memory leaks cause the system to fail or behave randomly.
Soak tests are used primarily to check the reaction of a subject under test under a possible simulated environment for a given ration and for a given threshold. Observations made ring the soak test are used to improve the characteristics of the subject under test further.
In electronics, soak testing may involve testing a system up to or above its maximum ratings for a long period of time. Some companies may soak test a proct for a period of many months, while also applying external stresses such as elevated temperatures.
This falls under stress testing.

热心网友 时间:2022-05-03 02:31

个人意见,按字面意义,翻译成“沉浸测试”是不是略好一点。

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com