I am very new to Java. There is a Model Server web service, now to test it we require to create a testing framework. For testing I have to provide multiple test inputs from a file. and for each input I have to run the web service. Now I want to know that is there any way to create HttpServletRequest from java code, as I have to create a new Http post request for each test input. Please suggest me if there is any alternate way to achieve this.
Share
Use the builtin
java.net.URLConnectionor the more convenient Apache HttpComponents Client.