[ 
https://issues.apache.org/jira/browse/WINK-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Elman updated WINK-15:
------------------------------

    Description: 
Cookie usage is incorrect:
1. Server should return Set-Cookie instead of Cookie header.
2. The cookie must start with $Version

  was:
CookieParamTest_from_standalone fails:

06-28-2009 14:16:29:  [JAXRSCommonClient] Test setup OK
06-28-2009 14:16:29:  [HttpRequest] Dispatching request: 'GET 
/jaxrs_rs_cookieParamTest_web/CookieParamTest?todo=setcookie HTTP/1.1' to 
target server at 'localhost:8888'
06-28-2009 14:16:29:  ERROR: [WebValidatorBase] Unable to find the following 
header in the server's response: Set-Cookie: name1=value1

[WebValidatorBase] Response headers recieved from server:
        ResponseHeader -> Server: Apache-Coyote/1.1

        ResponseHeader -> Cookie: name1=value1;Version=1;Max-Age=-1

        ResponseHeader -> Content-Type: application/xml

        ResponseHeader -> Content-Length: 14

        ResponseHeader -> Date: Sun, 28 Jun 2009 11:16:29 GMT


06-28-2009 14:16:29:  [HttpRequest] Dispatching request: 'GET 
/jaxrs_rs_cookieParamTest_web/CookieParamTest?todo=verifycookie  HTTP/1.1' to 
target server at 'localhost:8888'
Jun 28, 2009 2:16:29 PM org.apache.commons.httpclient.HttpConnection 
releaseConnection
WARNING: HttpConnectionManager is null.  Connection cannot be released.
06-28-2009 14:16:29:  ERROR: [WebValidatorBase] Unable to find the following 
search string in the server's response: 'name1=value1' at index: 0
[WebValidatorBase] Server's response:
-------------------------------------------
name1=abcverifyCookie=done
-------------------------------------------




        Summary: Cookie failures  (was: CookieParamTest_from_standalone fails)

> Cookie failures
> ---------------
>
>                 Key: WINK-15
>                 URL: https://issues.apache.org/jira/browse/WINK-15
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Michael Elman
>            Assignee: Michael Elman
>
> Cookie usage is incorrect:
> 1. Server should return Set-Cookie instead of Cookie header.
> 2. The cookie must start with $Version

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to