Custom properties don't save when I execute project from Command Line
Hi.
I have a ReadyAPI/SoapUI Pro Project that I execute with a command line from a scheduled job.
In the TearDown Script of the Project, I set some Project Custom Properties which are to be used in the next Run.
e.g. project.setPropertyValue( "LastRunValue", theVariableValueIWantToStore);
This works when I run the Project manually with the ReadyAPI UI open. I see the value get set between runs and the scripts function as I would like.
However, when I run this project from a command line the Custom Property Value gets set to it's 'default', i.e. what the value is when I closed and saved the project.
Can someone please advise if:
- there is a way to save the new Custom Property in the TearDown? e.g. project.save; OR
- they know where and how I could save this value so it is available for the next execution from a command line so that it is contained within the Project.
Help and advice will be greatly appreciated.
Many thanks,
Paul