Can I use SOAPUI for concurrency testing?

倾然丶 夕夏残阳落幕 提交于 2019-12-11 05:33:03

问题


I am trying to test my web service using SOAPUI (the free version). For testing concurrency, I wished to fire concurrent threads from SOAPUI onto the service. But with the options, the thread count increases gradually (even in the burst mode). The machine where SOAPUI is installed is a WinXP machine. Can I actually do the concurrency testing? If so how? Please guide me. I am waiting for your answers and help.


回答1:


If you want a constant load just use the "simple" strategy. Select a thread count you want (e.g. 10) and choose a test delay. The delay will be randomized by the "Random" factor. This means if the random factor is 0.5 and the test delay is 10000 the tests in one thread will have a random delay from 5 seconds to 15 seconds.

So if you want a constant load you can select a delay of 0 and a specific number of threads. There will always be a fixed amount of threads using the "Simple" strategy.



来源:https://stackoverflow.com/questions/2673369/can-i-use-soapui-for-concurrency-testing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!