PHaegele
15 years agoOccasional Contributor
Singletons stay alive until soapUI is restarted
Hi,
I´ve several singleton instances in my API that get called via a "Groovy Teststep".
When executing a Groovy Teststep it seems, that no new VM is started - the objects "live" in the VM of the soapUI instance.
That leads to several problems, when restarting a Teststep after changing external resources (files, database values and so on....)
=> is it possible to start a own VM each time I execute a teststep or a testcase?
Thanx,Torsten
I´ve several singleton instances in my API that get called via a "Groovy Teststep".
When executing a Groovy Teststep it seems, that no new VM is started - the objects "live" in the VM of the soapUI instance.
That leads to several problems, when restarting a Teststep after changing external resources (files, database values and so on....)
=> is it possible to start a own VM each time I execute a teststep or a testcase?
Thanx,Torsten