From the course: API Test Automation with SoapUI

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Using properties in a test

Using properties in a test - SoapUI Tutorial

From the course: API Test Automation with SoapUI

Start my 1-month free trial

Using properties in a test

- [Narrator] We've been looking at creating a workflow driven test. And we've seen a few things that are pretty clunky. When we're going through the workflow, we want to use the same data at a bunch of different steps. So we have the deck ID here. And we use that same deck ID, in each of these steps, we use the same deck ID again. And then also, we have the problem of our draw step here gives us some output data, the card value, that we need to use in our discard step. So to do this stuff we need to be able to transfer data or properties, from one test step to another test step. So let's start with the deck ID and see if we can figure this out. So we'll go to shuffle here. And what we'll do for this first one, this is the first step in our test case. And so we'll just replace this with the word new. What this will do, is generate a new shuffled deck for us each time we run this test case. So if we run this, what we want now is to be able to take this deck ID that this generates, and…

Contents