MockService return two responses
I have a mock service that simulates a external application on my application.
Right now i'm able to send only one response depending of input but i want two send two responses sometimes but i don't know how to do this on SOAPUI or if its even possible.
To give a better understanding how it works my application i send a request to the external application to create an account. The external service only returns if it's valid or not and if its valid the external application will send a request to my application to procede with the account creation.
Flow:
App -----------Request----------------> External
App<-----------Is Valid ----------------- External
App<-----------Create Account ----------------- External
I want to simulate this flow with mock service if possible.
Current flow:
App -----------Request----------------> MockService
App<-----------Is Valid ----------------- MockService
Missing last step
Thanks