[arquillian-issues] [JBoss JIRA] (ARQ-992) Warp does not support request redirection.

Jakub Narloch (JIRA) jira-events at lists.jboss.org
Tue Jun 12 02:40:04 EDT 2012


    [ https://issues.jboss.org/browse/ARQ-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700655#comment-12700655 ] 

Jakub Narloch commented on ARQ-992:
-----------------------------------

Right, we have to choice whether we should test the initial request or the next one. I think that there is also third option to capture the invocation of sendRedirect method using the HttpServletRequestWrapper and call that on the actual request after it's been processed by WarpFilter.
                
> Warp does not support request redirection.
> ------------------------------------------
>
>                 Key: ARQ-992
>                 URL: https://issues.jboss.org/browse/ARQ-992
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Warp
>    Affects Versions: warp_1.0.0.Alpha1
>         Environment: JBoss AS 7.1.1
>            Reporter: Jakub Narloch
>            Assignee: Lukáš Fryč
>              Labels: warp
>
> When I was running tests of Spring controllers I found out that whenever a controller is redirecting the response for example by returning a String as view name: {code}return "redirect:welcome.do"{code} the execution of the test hangs till end of timeout.
> I've debuged the WarpFilter and it seems that the Warp header is not beeing added into the 302 HTTP response. On the client side this result with ResponseDeenrichmentFilter can not find any ResponsePayload in response.
> Taking into consideration fact that the RequestEnrichmentFilter allows to push the assertion only once, so when the second request is being made the assertion is not being send once again I'm unable to test such response.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the arquillian-issues mailing list