Learn how to set up and use global properties and also how to interact with environment variables.
- [Instructor] We've already seen a few examples … of using properties in SoapUI. … But, I want to touch on a couple more in this video. … I want to look first at using global variables. … So you can see, we have this script here in front of us, … and we have this inputFilePath variable … that we've created, … and we're reading a property, … from our test suite. … But imaging we wanted to use this inputFilePath … maybe in another project or another test suite. … In that case, we can't get it from here, … so we need to define it somewhere more global, … and SoapUI lets us do that with Global Properties. … So if we go to File, … Preferences, … we can open the Preferences … and then we have a Global_Property section here. … So let's add a new global property, … let's call it, … InputFile, … and for the value, … I'll paste in here, … Path, … and we'll call the file, … worldtimeInput.csv … worldtimeInput.csv … So, we'll do, OK on that, … but now we need to, … somehow get that global variable into this script here. …
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: Global properties and environment variables