cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse Fault MockResponse in other MockOperation

New Contributor

Reuse Fault MockResponse in other MockOperation

Hi,

is it possible to reuse a soap Fault response in another mock operation in the same mock service? I can't figure out how ...

/jesper
3 REPLIES 3
Super Contributor

Re: Reuse Fault MockResponse in other MockOperation

Hi Jesper,

you could create a response script that reads the fault message and inserts it into the current response..!?

regards,

/Ole
eviware.com
New Contributor

Re: Reuse Fault MockResponse in other MockOperation

thanks Ole,

but then I still need a placeholder response to either modify or expand, which is what I wanted to avoid 

/jesper
Super Contributor

Re: Reuse Fault MockResponse in other MockOperation

Hi,

ok, I see your point.. basically you would like to be able to return a response created entirely by the dispatch script!?

regards,

/Ole
eviware.com
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors