cancel
Showing results for 
Search instead for 
Did you mean: 

"Get Data" in a test step doesn't work from different test case or test suite.

New Contributor

"Get Data" in a test step doesn't work from different test case or test suite.

In SOAP UI PRO

In a test step, if we want to get some data from different test case, It does not give me any options, but on the other hand, if I try getting data from different test steps in the same test case, it works out.

Is there anything or any ways, I shall be able to get the property data like response from one test step can be used in the different test case in the different test suite.
1 REPLY 1
Super Contributor

Re: "Get Data" in a test step doesn't work from different test case or test suite.

Hi!

The preferred way to share data between testcases/testsuites is via a common property at the testsuite/project level that can be accessed by both; the first testcase contains a property-transfer that transfers the value to the property, the second reads (via Get Data) this property. This reduces tight coupling between testcases, but if that's not a problem and/or the above doesn't work out for you, you can use a groovy-script instead to read/write the desired properties..

regards,

/Ole
eviware.com
New Here?
Join us and watch the welcome video:
Top Kudoed Authors