robertc
16 years agoOccasional Contributor
I am having difficulty understanding the scope of properties
I need to run my SOAPUI script against different endpoints with different userid's and passwords. I store the endpoint, userid and password in a configuration file which I read in during the setup script for a TestSuite. I then set the properties Endpoint, Username and Password to the values read in. However these properties are not recognised at the TestStep level. I would have assumed that a property defined at the TestSuite level would be available to all child TestCases and TestSteps. This is obviously not the case. Does this mean that I have to copy these properties to all test cases in the TestSuite? If so is there a means of iterating through all the TestSteps in a TestSuite from a Groovy script?