Forum Discussion
Radford
8 years agoSuper Contributor
st-pat responding to when you mention about the wrong results definition. When trying to get properties/data into a Groovy Script test step, have you investigated the "point and click" Get Data functionality, access this from the within the right mouse click menu when within a Groovy script editor (In fact this can be accessed most places that allow property expansions). This helped me a lot when I was getting started with SoapUI.
st-pat
8 years agoOccasional Contributor
Radford The problem in that is that in the editor I don't get a result from the TC only from the teststeps as a property and this is the case I have above.
sanj again missing property definition
I have it like this now
import com.eviware.soapui.support.*;
def tc = testsuite.getTestCaseByName("CLUB-ATM-UC")
/def testStep = tc.testSteps['brianSisClubWrite - Request']
def req = new File(tc)