Forum Discussion

rbugs's avatar
11 years ago

REST: returnFile in SoapUI 5

I've updated to use SoapUI 5 pro.
All of our testdata for REST mocking are in files saved in docroot.
We've been using the mockRunner.returnFile in the onRequest script to return mock data for testing.
When I upgraded, the script does not work anymore since this method was removed in the mockRunner api in 5.0.
What is the turn around for this?

I've tried creating mock REST responses using the new stuff and its good and easy.
But I would like to have a way to still be able to use my existing mock file in the new version.
No RepliesBe the first to reply