Forum Discussion

Alcatel-Lucent__10's avatar
Alcatel-Lucent__10
Occasional Contributor
15 years ago

how to start/stop mockservice from loadtest setup script

Hi,

Is it possible to start/stop a mockService from the setup/tead down script of a load test ?
How can this be done ?

Thanks for the info.

Kr,

1 Reply

  • Hello!

    You should be able to do it like this:

    loadTestRunner.loadTest.testCase.testSuite.project.getMockServiceByName("Test").start()


    Hope this helps!

    Henrik
    SmartBear Stockholm