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.

Create a data-driven test suite

Create a data-driven test suite - SoapUI Tutorial

From the course: API Test Automation with SoapUI

Start my 1-month free trial

Create a data-driven test suite

- [Instructor] We've looked at using SoapUI to simulate workflows, but sometimes you want to do something a bit different. Sometimes you want to take one API endpoint and just hit on it with a whole bunch of different inputs. So that's called data-driven testing, and that's something that we can do in SoapUI. So, I've created this test case here to help us get started, and if we take a look at it, it's using the World Time API, and it gives us some data about different timezones based on area and location perimeters. So, I've created a CSV file here that has a few different areas and a few different locations on individual lines like this. So, what we need to do is somehow get that data into SoapUI so we can run this test with each one of those data points. So, the first thing I'll do is actually add a new test case here we'll call it get inputs, and we'll add a groovy test step to it. So, this is just a little scripting language that is kind of built right into SoapUI that lets us do…

Contents