jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Wilkins <gr...@mortbay.com>
Subject ServletRequestGetCharacterEncodingTest
Date Fri, 17 May 2002 11:01:21 GMT

Jetty has just started failing the latest ServletRequestGetCharacterEncodingTest

However it appears that watchdog is making a bad request from the client.
The request we received from watchdog is:

GET /servlet-tests/ServletRequestGetCharacterEncodingTest HTTP/1.0
Content-Type: text/plain; charset=UTF-8
Host: localhost:8080

And we correctly return UTF-8 from getCharacterEncoding.

But the test is written to expect an ISO-8859-1 encoding.

      [java]  [watchdog] ### RESPONSE FROM SERVER ###
      [java]  [watchdog] ----------------------------
      [java]  [watchdog]
      [java]  [watchdog] 0x0000: 53657276 6c657452 65717565 73744765  ServletRequestGe
      [java]  [watchdog] 0x0010: 74436861 72616374 6572456e 636f6469  tCharacterEncodi
      [java]  [watchdog] 0x0020: 6e675465 73742074 65737420 4641494c  ngTest.test.FAIL
      [java]  [watchdog] 0x0030: 45443c42 523e0a20 20202020 53657276  ED<BR>......Serv
      [java]  [watchdog] 0x0040: 6c657452 65717565 73742e67 65744368  letRequest.getCh
      [java]  [watchdog] 0x0050: 61726163 74657245 6e636f64 696e6728  aracterEncoding(
      [java]  [watchdog] 0x0060: 29207265 7475726e 65642074 68652077  ).returned.the.w
      [java]  [watchdog] 0x0070: 726f6e67 20726573 756c743c 42523e0a  rong.result<BR>.
      [java]  [watchdog] 0x0080: 20202020 20457870 65637465 64207265  .....Expected.re
      [java]  [watchdog] 0x0090: 73756c74 203d2049 534f2d38 3835392d  sult.=.ISO-8859-
      [java]  [watchdog] 0x00a0: 31203c42 523e0a20 20202020 41637475  1.<BR>......Actu
      [java]  [watchdog] 0x00b0: 616c2072 6573756c 74203d20 7c555446  al.result.=.|UTF
      [java]  [watchdog] 0x00c0: 2d387c20 3c42523e 0a                 -8|.<BR>.
      [java]  [watchdog]
      [java]  [watchdog] ### GOLDEN FILE ###
      [java]  [watchdog] -------------------
      [java]  [watchdog]
      [java]  [watchdog] 0x0000: 53657276 6c657452 65717565 73744765  ServletRequestGe
      [java]  [watchdog] 0x0010: 74436861 72616374 6572456e 636f6469  tCharacterEncodi
      [java]  [watchdog] 0x0020: 6e675465 73742074 65737420 50415353  ngTest.test.PASS
      [java]  [watchdog] 0x0030: 45440a                               ED.
      [java]  [watchdog]
      [java]  [watchdog] ### END OF DUMP ###
      [java]  [watchdog]
      [java]  [watchdog]  FAILED ServletRequestGetCharacterEncodingTest
      [java]  [watchdog]         (GET /servlet-tests/ServletRequestGetCharacterEncodingTest
HTTP/1.0)


regards


-- 
Greg Wilkins<gregw@mortbay.com>          GB  Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.    Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com                   AU  Phone: +61-(0)2 98107029


--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message