bojasna
5 years agoOccasional Contributor
Running a test step in another project from a mockservice
Hi,
I have two projects, one is a mockservice where I extract a value from the request, save it as a global property and then I use it in another project which is a regular one where I have a test suite with one one step.
However, I need to execute this step manually since I see that in the scripts part in the mockservice the TestRunner property is not available( I read that this one is used for running test cases from other projects but works only from a groovy script). Is there a way that I can execute this step in the other project automatically after receiving the request in the mockservice?
Thanks,
Bojana
Thanks,
Bojana
- Hey bojasna,
I know testRunner isnt available and i don't really use dynamic mocks, but have a look at the following link. Perhaps another object....e.g. modelItem or context, etc. might help?
Link in as follows:
https://www.soapui.org/soap-mocking/creating-dynamic-mockservices/#1-MockService-Scripting-Overview
Cheers,
Rich