Create inline, dynamic properties that let you quickly and easily customize your tests.
- [Narrator] I want to talk about one more powerful concept … that we have in SoapUI with properties. … This is called dynamic properties. … So I've set a request up here that uses … the world population API, and it will get us … the life expectancy of a male Canadian … at a certain date that is a certain age. … So, I've hard-coded a date here to January 1st 2019, … but what if we wanted to get it for today's date. … So every time we run this, we want it … to use the current date, and not this hard-coded date. … So let's take a look at how we can … do that with dynamic properties. … So, the first thing we'll do here … is just generate a test suite. … Okay, so, we've got a test case here, … let's open that up and we have today's date. … So instead of using this hard-coded value, … we need to somehow generate a value … that is today's date every time we run it. … So we can do that with this familiar dollar syntax … to start it, we'll put two brackets … and then inside of this brackets if we start …
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: Using dynamic properties