cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse Fault MockResponse in other MockOperation

Highlighted
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
Highlighted
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
Highlighted
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
Highlighted
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:
Announcements
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!


Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors