Alcatel-Lucent__10
13 years agoOccasional Contributor
starting a testcase from mock onrequest script
I have a mockservice running. When I receive a request of type A, I want to start a specific testcase.
How can I achieve this ? It was my intention to use the onRequest script to start the testcase.
I have following code, but this is not working :
mockRunner.mockService.project.getTestSuitByName("test").getTestCaseByName("testcase1").run()
Thanks in advance,
Philip
How can I achieve this ? It was my intention to use the onRequest script to start the testcase.
I have following code, but this is not working :
mockRunner.mockService.project.getTestSuitByName("test").getTestCaseByName("testcase1").run()
Thanks in advance,
Philip