Forum Discussion

BEDBuser3's avatar
BEDBuser3
New Contributor
16 years ago

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

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Jesper,

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

    regards,

    /Ole
    eviware.com
  • BEDBuser3's avatar
    BEDBuser3
    New Contributor
    thanks Ole,

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

    /jesper
  • omatzura's avatar
    omatzura
    Super Contributor
    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