Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
Well, you can not start at same time mock service and run test case this way. Better approach to this, I think is to start mocek service from startup script , which have every test case and every test suite, and that to shut it down in cleanup , which is again available in each test case and test suite.
Here is groovy for both:
Hope this helps,let me know
robert
Well, you can not start at same time mock service and run test case this way. Better approach to this, I think is to start mocek service from startup script , which have every test case and every test suite, and that to shut it down in cleanup , which is again available in each test case and test suite.
Here is groovy for both:
Start :
testCase.testSuite.project.getMockServiceByName("Test").start()
Stop:
testCase.testSuite.project.getMockServiceByName("Test").getMockRunner().stop()
Hope this helps,let me know
robert