-
Bug
-
Resolution: Done
-
Blocker
-
None
-
7.0.1.Final
-
None
The method org.jboss.as.testsuite.integration.common.HttpRequest.put(...) doesn't rely on HTTP method in HttpURLConnection object and uses the default value = HTTP GET method (see javadoc). This behavior can confuse some developers and for ex. it is impossible to create full set of TestCases for RESTEasy/JAX-RS module.
Although change of this behavior can break some already implemented TestCases (I found only one of them org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase.testSingleton()), I prefer to fix the semantic of HttpRequest.put(..) that do some disorganized work-around.
Note: EJBWebServicesTestCase.testSingleton() should be fixed too.