Forum Discussion

bmgriner's avatar
bmgriner
Frequent Contributor
15 years ago

Mock Rest Service Work-Around Problem

I am using the Mock rest service work around where I set the docroot and then use the onRequest script to specify a static file to return. It was working great until I started testing the POST method. This work around does not work for the POST method. I verified that it does not even hit the onRequest script when you are doing a POST. I just want static data passed back during a POST operation the same as a GET operation.

1 Reply

  • Hello,

    I tried to reproduce this, but it seems to work for me. What version of soapUI are you using? Can you try downloading the latest nightly build to see if the problem persists there? You can download it here.

    Regards,
    Dain
    eviware.com