Hi Dain,
Thanks for the reply. My requirement is different, I have testcase (eg. delete test case) defined globally and I have to call this test in all my test cases in tear down method with some parameters.
TearDown_UpdateTestLink = testRunner.testCase.testSuite.project.getTestSuiteByName("GlobalMethods").testCases["DeleteCar"];
TearDown_DeleteCar.setPropertyValue("VehicleID", 1212131);
TearDown_DeleteCar.setPropertyValue("UserName", sTestCaseName);
TearDown_DeleteCar.setPropertyValue("Password", sResult);
runner3 = TearDown_DeleteCar.run( new com.eviware.soapui.support.types.StringToObjectMap(), false )The dis advantage is that when 2 test cases run in parallel, both calls the same global method at the same time, then one fails.
do you have any solution to run thread safe.
Regards
Vijay