Forum Discussion

SaraCavelind's avatar
SaraCavelind
Contributor
11 years ago

Controlling responses in a separate mock project

Hi!
I have a soapuiproject running in maven and to support the testing in this project (called T) I have a separate project with only mocks (called M). The mock project is also started using maven in a pre step to the testing.
My problem is this: The tests in T would like to control (set a global variable or something) in M to control the behavior. A "easy" solution would of course be to let T include the mocks in M, but I rather not do that.
Any suggestions?

5 Replies