I have a service that is secured using a signature and timestamp in the header values. The values timeout after a minute. I've created global properties and I reference them in the tests. I've created a batch job that updates the SoapUI properties file (soapui-settings.xml) with new values (basically copies the entire properties file line by line and updates these values when those lines comes up during the copy). This is working great--except I need to restart SoapUI for it to use the updated values. Very annoying to have to shut down SoapUI, run my batch app and restart SoapUI every minute!
Any idea how I can automatically re-read the global properties values while SoapUI is running?
P.S. I am open to other solutions. I don't like copying the properties file--scares me that I'll corrupt it someday. Is there a better way? I'm thinking some syntax to tell SoapUI to read the global property value from a file at run-time or something? . . . maybe like this:
${file://someDir/currentSignature.txt}
Thanks in advance!