Forum Discussion

Kronos_-_soapUI_1's avatar
Kronos_-_soapUI_1
Occasional Contributor
13 years ago

Property Transfer to a Script target

I want to transfer a property to a script. I see that the property transfer test step does allow you to transfer to a script. Can you give an example of how you would reference the property from the script?

Right now, I'm putting it in a suite level property, and then reading it in the script. It would be better to reference the property directly in the script without using a suite property.

1 Reply

  • The easiest way to transfer a property to a Groovy Script is to just right click in the script editor and select Get Data.. and the property you want to expand.

    --
    Regards

    Erik
    SmartBear Sweden