sorry for the late answer, this was marked as email by yahoo...

It seems to me that the only difference is the User-Agent header

[clickButton] DEBUG (httpclient.wire.header) - >> "User-Agent:
Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)[\r][\n]"
vs
[clickButton] DEBUG (httpclient.wire.header) - >> "User-Agent: 4.0
(compatible; MSIE 6.0; Windows 98)[\r][\n]"

Does your webapp react to something like that? Can you try to set it
explicitly?

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com



Michael Clarage wrote:
>>From the login calls, first R1600, then R1646. The only difference I see
> is that the 1646 returns the error500 page.
> 
> 
> ****************************************************
> R1600
> ****************************************************
>    [invoke] DEBUG (httpclient.wire.content) - <<
> "YAHOO.register("autocomplete", YAHOO.widget.AutoComplete, {version:
> "2.2.0", build: "125"});[\r][\n]"
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
> of window changed to http://smtp.concentrica.com:8843/CHSPortal/
> (text/html)
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
> loaded in newly opened window, its content will become current response
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
> form set to none
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
> response now: http://smtp.concentrica.com:8843/CHSPortal/
> [setInputField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
> setInputField "Login" (2/9)
> [setInputField]  INFO (com.canoo.webtest.engine.WebClientContext) -
> Current form set to
> (action=/CHSPortal/faces/Login.jsp;jsessionid=C5C03E2B470EAB6FB1B7DCC874
> 504E66)
> [setInputField]  INFO
> (com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
> fields, considering only the first one
> [setInputField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
> setInputField (3/9)
> [setInputField]  INFO
> (com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
> fields, considering only the first one
> [clickButton]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
> clickButton "Click Login button: " (4/9)
> [clickButton]  INFO
> (com.canoo.webtest.steps.request.AbstractTargetAction) - -> gotoTarget
> by clickButton with name: null
> [clickButton]  INFO (com.canoo.webtest.steps.request.ClickButton) - ->
> findTarget(by input): name=form1:login value=
> [clickButton] DEBUG (httpclient.wire.header) - >> "POST
> /CHSPortal/faces/Login.jsp;jsessionid=C5C03E2B470EAB6FB1B7DCC874504E66
> HTTP/1.1[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "User-Agent:
> Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Referer:
> http://smtp.concentrica.com:8843/CHSPortal/[\r][\n]";
> [clickButton] DEBUG (httpclient.wire.header) - >> "Host:
> smtp.concentrica.com:8843[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Cookie: $Version=0;
> JSESSIONID=C5C03E2B470EAB6FB1B7DCC874504E66; $Path=/CHSPortal[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Content-Length:
> 164[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Content-Type:
> application/x-www-form-urlencoded[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.content) - >>
> "form1%3Ausername=doctor&form1%3Apassword=111111&form1%3Alogin.x=0&form1
> %3Alogin.y=0&form1%3AmessageId=0&form1_hidden=form1_hidden&com.sun.faces
> .VIEW=_id695%3A_id696"
> [clickButton] DEBUG (httpclient.wire.header) - << "HTTP/1.1 200
> OK[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Set-Cookie:
> chs_email=doctor; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Content-Type:
> text/html;charset=UTF-8[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Content-Language:
> en-US[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Transfer-Encoding:
> chunked[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Date: Fri, 28 Dec
> 2007 13:58:51 GMT[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Server:
> Apache-Coyote/1.1[\r][\n]"
> 
> ****************************************************
> R1646
> ****************************************************
>    [invoke] DEBUG (httpclient.wire.content) - <<
> "YAHOO.register("autocomplete", YAHOO.widget.AutoComplete, {version:
> "2.2.0", build: "125"});[\r][\n]"
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
> of window changed to http://smtp.concentrica.com:8843/CHSPortal/
> (text/html)
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
> loaded in newly opened window, its content will become current response
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
> form set to none
>    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
> response now: http://smtp.concentrica.com:8843/CHSPortal/
> [setInputField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
> setInputField "Login" (2/9)
> [setInputField]  INFO (com.canoo.webtest.engine.WebClientContext) -
> Current form set to
> (action=/CHSPortal/faces/Login.jsp;jsessionid=D0543DCB3844ECEFDC7EE73DE9
> 7C00CE)
> [setInputField]  INFO
> (com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
> fields, considering only the first one
> [setInputField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
> setInputField (3/9)
> [setInputField]  INFO
> (com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
> fields, considering only the first one
> [clickButton]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
> clickButton "Click Login button: " (4/9)
> [clickButton]  INFO (com.canoo.webtest.steps.request.ClickButton) - ->
> findTarget(by input): name=form1:login value=
> [clickButton] DEBUG (httpclient.wire.header) - >> "POST
> /CHSPortal/faces/Login.jsp;jsessionid=D0543DCB3844ECEFDC7EE73DE97C00CE
> HTTP/1.1[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "User-Agent: 4.0
> (compatible; MSIE 6.0; Windows 98)[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Referer:
> http://smtp.concentrica.com:8843/CHSPortal/[\r][\n]";
> [clickButton] DEBUG (httpclient.wire.header) - >> "Host:
> smtp.concentrica.com:8843[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Cookie: $Version=0;
> JSESSIONID=D0543DCB3844ECEFDC7EE73DE97C00CE; $Path=/CHSPortal[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Content-Length:
> 164[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "Content-Type:
> application/x-www-form-urlencoded[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - >> "[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.content) - >>
> "form1%3Ausername=doctor&form1%3Apassword=111111&form1%3Alogin.x=0&form1
> %3Alogin.y=0&form1%3AmessageId=0&form1_hidden=form1_hidden&com.sun.faces
> .VIEW=_id700%3A_id701"
> [clickButton] DEBUG (httpclient.wire.header) - << "HTTP/1.1 500 Internal
> Server Error[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Set-Cookie:
> chs_email=doctor; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Content-Type:
> text/html;charset=utf-8[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Content-Language:
> en-US[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Content-Length:
> 1000[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Date: Fri, 28 Dec
> 2007 14:04:53 GMT[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Server:
> Apache-Coyote/1.1[\r][\n]"
> [clickButton] DEBUG (httpclient.wire.header) - << "Connection:
> close[\r][\n]"
> 
> 
>  
> Regards,
>  
> Michael Clarage
> CTO, Concentrica
> 781-890-1300
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
> Sent: Friday, December 28, 2007 3:15 AM
> To: [email protected]
> Subject: Re: [Webtest] http 500 after upgrading to R1646
> 
> quite strange.
> 
> Can you configure the log level of log4j.logger.httpclient.wire.header
> to debug and compare the requests performed for login with R1600 and
> R1645?
> 
> Cheers,
> Marc.
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to