I ask this, because when i use the script below, the properties where not added.
// read the file
def properties = new java.util.Properties();
properties.load( new java.io.FileInputStream( "testprops.txt" ));
def targetStep = testRunner.testCase.getTestStepByName( "Properties" );
// assign single property
targetStep.setPropertyValue( "myproperty", properties.getProperty( "myproperty" ));
// assign all properties
def names = properties.propertyNames();
while( names.hasMoreElements() )
{
def name = names.nextElement();
targetStep.setPropertyValue( name, properties.getProperty( name ));
}
This is a script from the manual.
http://www.soapui.org/userguide/functio ... t_Examples