Ask a Question

MockService return two responses

yocosaka
New Member

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

 

 

 

1 REPLY 1
nmrao
Community Hero

Re: MockService return two responses

Looks it is very application specific, not a common case.
Not sure if you can replicate unless you write some custom code.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: