Buschfunk
14 years agoFrequent Contributor
Text templates
Hello,
Another feature request
Scenario
A test suite contains n test cases which all call an identical Groovy script (~ 40 lines). Currently this means keeping n copies of this script, which makes changes very annoying.
Feature request
Similar to a code template it would be useful if the script was written and stored in soapUI only once. In each test case the Groovy test step contains something like project.getTextTemplate("myScript") whereas myScript would contain the actual Groovy script.
I could copy the script to a project property but this would make it hard to read and edit.
Sincerely,
Robert
Another feature request

Scenario
A test suite contains n test cases which all call an identical Groovy script (~ 40 lines). Currently this means keeping n copies of this script, which makes changes very annoying.
Feature request
Similar to a code template it would be useful if the script was written and stored in soapUI only once. In each test case the Groovy test step contains something like project.getTextTemplate("myScript") whereas myScript would contain the actual Groovy script.
I could copy the script to a project property but this would make it hard to read and edit.
Sincerely,
Robert