Forum Discussion
Apoorva6
10 years agoFrequent Contributor
Hi, for 1) All operations belong to different service. For 2) I want to include all mock response within test case as test steps so that whenever control reaches mock response test step, it starts listening.
nmrao
10 years agoCommunity Hero
Looks there is misunderstanding w.r.t #2 and as mentioned earlier, mockservice should start as part of setup script.
- Apoorva610 years agoFrequent ContributorHi Rao, thnx for reply. I am confused why mock response need to start with setup script? Can u explain please? Can't I try with adding mock response test step?
- nmrao10 years agoCommunity HeroBecause, the mock service should be running so that it can respond to the call made in the test case.
- Apoorva610 years agoFrequent ContributorYes, but we can also add mock response as test step which is my scenario. I need to know if I can continue in test case execution provided mock response is still listening.