soapUI支持test suite, test case级别的并发,合理使用这个功能,能够让自动化脚本短期内跑完,为release省下时间。
1. 如何开启并发模式
图示,click project name, you will see the parallet icon on right, click it, all test suites will run in concurrence. Click test suite name to select parallet, it means all test cases in the test suite will run in concurrence.
2. 并发的前提条件: 须要并发的test suites or test cases彼此之间不能有相互依赖。若是一个套件执行前须要先执行另外一个套件,则须要在这个套件的Setup Script里面加一段脚本如图所示。
3. 这种并发模式,虽然让自动化run的时间大大减小,但却会对产品服务器形成必定的压力。衡量自动化的量及产品服务器的数量,合理选择。服务器