Forum Discussion

krogold's avatar
krogold
Regular Contributor
7 years ago
Solved

How to write a property value in testSuite's setup script ?

Hello, I'm using SoapUI 5.3.0 I'm trying to read and write properties in the setup script. In order to read a property, build a value from it and write this in a new property.   I did current_pa...
  • krogold's avatar
    7 years ago

    Well,

    I did

    testSuite.setPropertyValue("my prop", new_value)

    and it worked.

     

    It is indicated, in the edit part, that "setup script is invoked with log, runner, context and testsuite variables"

    However, as runner is mentioned, I would have expected to be able to do it using the runner ...

     

    sorry for the time loss

     

    Alexandre