AnsweredAssumed Answered

BaseWebScriptTest and parameters

Question asked by christiaank on Feb 6, 2014
Our webscripts use Request.getParameter() to retrieve the data posted to the webscripts.

I tried to unittest this with the BaseWebScriptTest and TestWebScriptServer.
These classes encapsulate a MockHttpServletRequest, and that does support setParameters() and getParameter().
However, BaseWebScriptTest and TestWebScriptServer provide no means to reach these methods (in BaseWebScriptTest.sendRequest() and TestWebScriptServer.submitRequest()).

I would like to see the MockHttpServletRequest.parameters exposed in the TestWebScriptServer.Request class.