From the course: API Test Automation with SoapUI
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
More advanced scripting in SoapUI - SoapUI Tutorial
From the course: API Test Automation with SoapUI
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.