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

Jakub Narloch (JIRA) jira-events at lists.jboss.org
Fri Jun 8 11:02:18 EDT 2012


     [ https://issues.jboss.org/browse/ARQ-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakub Narloch updated ARQ-992:
------------------------------

    Description: 
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 test hangouts 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.

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.

  was:
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 test hangouts till end of timeout.

I've debuged the WarpFilter and it seems that the 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.

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.


    
> 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
>            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 test hangouts 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.
> 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.

--
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