[arquillian-issues] [JBoss JIRA] (ARQ-1426) https support for Servlet Protocol
Luca Graf (JIRA)
jira-events at lists.jboss.org
Mon Jul 8 06:07:21 EDT 2013
Luca Graf created ARQ-1426:
------------------------------
Summary: https support for Servlet Protocol
Key: ARQ-1426
URL: https://issues.jboss.org/browse/ARQ-1426
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Test Protocol SPIs and Implementation
Affects Versions: 1.1.0.Final
Reporter: Luca Graf
Priority: Minor
This time there is no way to configure the servlet-protocol to use https to communicate with the server. Because the ArquillianServletRunner is deployed in the context of the current 'application under test' the communication will fail when the application is configured to only allow https request to the current context. In my case (using glassfish), the request will return an 302 for an http request that is not handled by the ServletMethodExecutor (throwing IllegalStateException).
It would be nice when the protocol can be configured to use https for the communication. Another (not so nice) solution can be to follow the address from the Location Header after an 302 response (at least one time).
Workaround:
Disable forcing SSL communication for the test deployment, by using an adjusted web.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list