How do you use a Groovy script to clone a TestSuite from one project to another?
I found the interface
Interface CloneTestSuiteAction.Form
in the SoapUI API docs, but I am unsure how to use to it to implement the cloning.
The clone would be something like moving the TestSuite "Example" from Project 1 to Project 2.
Any help would be greatly appreciated. Thanks!
Exactly... also, prevents the "copy paste" code problem from your original OP... it's really generally bad practice to have the same code showing up almost EXACTLY the same way in multiple places... better to have the code modularized in one spot that is "smart" enough code to do what it needs to no matter where it is called. Again, keep in mind, you're creating building blocks for your testers... if you give them too many blocks that look almost exactly the same, you'll end up with more mistakes as the testers can get easily confused...