Setting soapUI testCaseproperties from a groovy script running in another soapui project
Hi to all,
I have this scenario, in which TEST_PROJECT1 and TEST_PROJECT2 are similar test project but must remain two separate projects. What I am trying to implement is a unique external script (in ENV_PROJECT) that is called from inside each test project, and it shoul be able to change testCase properties inside the test project itself.
Now when I execute dor example TestSuite1, groovyScript1 should be able to run groovySetPropStep (passing the TestSuite1 context) so that groovySetPropStep can set testCase properties of TestSuite1.
Is it possible? Or is there an alternative way to reach my target? Thanks in advance.
Re: Setting soapUI testCaseproperties from a groovy script running in another soapui project
Hi nmrao, I understand your point of view, but my need was to manage light soapui projects (in other words, not a huge size), to easily and quickly export and share them with other colleagues (If I group all testsuites in a single project i get it with 150 MB size and over).
That's why I had the requirement to set custom properties in an external project.
In this way, I can load only the small project and its own testsuites I need to run along with the very small project containing all custom properties needed.
I can figure that this is not a "standard" scenario, but I can assure it works. I'm using it right now.