abers29
15 years agoOccasional Contributor
Using SOAPUI as client and server inside the same test suit
Hi,
I'm using SOAPUI Pro 3.5.1 in a specific context :
- different steps are linked inside a same test case suit
- first of them send request to API server (example : login function, notification subscribing) :
in that situation, SOAPUI tool is bearing itself as a client
- for next step, a notification is expected from API : then, SOAPUI tool is bearing itself as a server ;
to operate this step, I created a Mockservice inside concerned step (step "notification is waiting" in following example)
example : steps for test to run
- login request (SOAPUI as client)
- subcribe request (SOAPUI as client)
- notification is waiting (SOAPUI as server)
- But I meet a problem when running because Mockservice is started just when arriving to "notification" step ;
at this time, API server may have already sent expected notification but can't be catch by Mockservice which was
not started again !
does any way exist to resolv this problem ?
thank you for you help
I'm using SOAPUI Pro 3.5.1 in a specific context :
- different steps are linked inside a same test case suit
- first of them send request to API server (example : login function, notification subscribing) :
in that situation, SOAPUI tool is bearing itself as a client
- for next step, a notification is expected from API : then, SOAPUI tool is bearing itself as a server ;
to operate this step, I created a Mockservice inside concerned step (step "notification is waiting" in following example)
example : steps for test to run
- login request (SOAPUI as client)
- subcribe request (SOAPUI as client)
- notification is waiting (SOAPUI as server)
- But I meet a problem when running because Mockservice is started just when arriving to "notification" step ;
at this time, API server may have already sent expected notification but can't be catch by Mockservice which was
not started again !
does any way exist to resolv this problem ?
thank you for you help