课程: API Test Automation with SoapUI
今天就学习课程吧!
今天就开通帐号,24,100 门业界名师课程任您挑!
More advanced scripting in SoapUI
- [Instructor] We've already seen a few examples of scripting throughout this course, and we're going to look at a little more in this video. We won't be able to fully learn Groovy scripting, but I do want to touch on a couple of these concepts that might be helpful to know. One other thing that might be helpful is some additional resources. So there's an article here, and it's a bit older article, but it's got a lot of good resources that help you get started with scripting in Groovy. You may also find that the Groovy Language Documentation is a helpful resource as well, as you dive in to this. So for this example, we'll just use this data driven test that we've looked at before. And as a reminder, this test reads in data from the file, and then for each line in the file it loops over it and applies those properties. But what happens if something goes wrong? Maybe the network is down or something like that. In that case, this test might throw an exception and then stop. But maybe we…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。