Set up tests that can be driven by external data sources (like a .csv file) to automatically cover many combinations and variations of data in one test.
- [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 …
Author
Released
3/8/2019- Creating your first project in SoapUI
- Adding request and query parameters
- Creating test suites
- Scripting with dynamic properties
- Running SoapUI from the command line or Docker
Skill Level Intermediate
Duration
Views
Related Courses
-
API Testing and Validation
with Keith Casey1h 13m Advanced -
Scripting for Testers
with Dave Westerveld1h 50m Intermediate -
API Testing Foundations
with Dave Westerveld1h 44m Intermediate
-
Introduction
-
What to expect1m 16s
-
SoapUI for testing APIs2m 9s
-
1. Getting Started
-
Installation and setup3m 26s
-
-
2. Creating Tests in SoapUI
-
Creating a test suite3m 47s
-
Using properties in a test6m 44s
-
-
3. Using Assertions in SoapUI
-
Script assertions5m 8s
-
Debugging failing tests5m 7s
-
4. Scripting and Properties
-
Using dynamic properties3m 16s
-
5. Advanced SoapUi Functionality
-
Mocking with SoapUI6m 39s
-
Setting up load tests5m 13s
-
-
6. Integrating SoapUI into Build Pipelines
-
Automating report creation3m 14s
-
Running SoapUI from Docker4m 57s
-
Conclusion
-
Next steps2m 2s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Create a data-driven test suite