Contributions
Any way to make assertion script wait until AfterRequest script finish?
In my mock service, I add AfterRequest script to allow save my rest request and response to SQLite db. Some of my test case assertion script need read the request/response saved by AfterRequest script, but occasionally it fails due to the fact that assertion won't wait AfterRequest script. The log shows they're started execution at the same time. I know I can manually put Thread.sleep in my assertion script, but it looks ugly. Anyone have a better solution? Thanks Jason553Views0likes0CommentsRe: Mock Service: mockRequest.requestContent is NULL (HTTP PUT)
The workaround works smoothly. However, if you need re-get the content down the road, you can't since the stream cannot be consumed twice. Hope there's a real solution from smartbear.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions8KViews0likes0Comments