[Webtest] Click-o-matic issues

Philippe IMOUCHA webtest@lists.canoo.com
Mon, 13 Sep 2004 15:52:53 +0200


Not better, now the log is!
I do not have any more the 304 error

At the end of the log I can see the following:
>> Pages with content-type image/gif are not processed=20

     [java] DEBUG (ConnectionPipe.java:119) - roundtrip processed
     [java] DEBUG (ConnectionPipe.java:127) - request handler finished.
     [java] DEBUG (HttpRequest.java:88) - cannot read content length
'null'- setting to body length 0
     [java] DEBUG (HttpMessage.java:62) - header string:
     [java] GET
http://localhost:9090/eshopp4/components/img/construction_4.gif HTTP/1.1
     [java] Cache-Control: no-cache
     [java] Host: localhost:9090
     [java] Accept: image/png,*/*;q=3D0.5
     [java] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7) Gecko/20040803 Firefox/0.9.3
     [java] Keep-Alive: 300
     [java] Pragma: no-cache
     [java] Accept-Language: en-us,en;q=3D0.5
     [java] Proxy-Connection: keep-alive
     [java] Accept-Encoding: gzip,deflate
     [java] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7
     [java] Referer: http://localhost:9090/eshopp4/pages/pageimages.html


     [java] DEBUG (HttpRequestCleaner.java:20) - raw client request :
     [java] GET
http://localhost:9090/eshopp4/components/img/construction_4.gif HTTP/1.1
     [java] Cache-Control: no-cache
     [java] Host: localhost:9090
     [java] Accept: image/png,*/*;q=3D0.5
     [java] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7) Gecko/20040803 Firefox/0.9.3
     [java] Keep-Alive: 300
     [java] Pragma: no-cache
     [java] Accept-Language: en-us,en;q=3D0.5
     [java] Proxy-Connection: keep-alive
     [java] Accept-Encoding: gzip,deflate
     [java] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7
     [java] Referer: http://localhost:9090/eshopp4/pages/pageimages.html


     [java] DEBUG (HttpMessage.java:62) - header string:
     [java] GET
http://localhost:9090/eshopp4/components/img/construction_4.gif HTTP/1.0
     [java] Cache-Control: no-cache
     [java] Host: localhost:9090
     [java] Accept: image/png,*/*;q=3D0.5
     [java] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7) Gecko/20040803 Firefox/0.9.3
     [java] Keep-Alive: 300
     [java] Pragma: no-cache
     [java] Accept-Language: en-us,en;q=3D0.5
     [java] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7


     [java] DEBUG (HttpRequestCleaner.java:26) - cleaned client request
:
     [java] GET
http://localhost:9090/eshopp4/components/img/construction_4.gif HTTP/1.0
     [java] Cache-Control: no-cache
     [java] Host: localhost:9090
     [java] Accept: image/png,*/*;q=3D0.5
     [java] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7) Gecko/20040803 Firefox/0.9.3
     [java] Keep-Alive: 300
     [java] Pragma: no-cache
     [java] Accept-Language: en-us,en;q=3D0.5
     [java] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7


     [java] DEBUG (ConnectionPipe.java:290) - url.toExternalForm() =3D
http://localhost:9090/eshopp4/components/img/construction_4.gif
     [java] DEBUG (ConnectionPipe.java:292) - con.getClass() =3D class
sun.net.www.protocol.http.HttpURLConnection
     [java] DEBUG (ConnectionPipe.java:143) - connection to host
created.
     [java] DEBUG (HttpRequest.java:88) - cannot read content length
'null'- setting to body length 0
     [java] DEBUG (HttpMessage.java:62) - header string:
     [java] GET
http://localhost:9090/eshopp4/components/img/construction_4.gif HTTP/1.0
     [java] Cache-Control: no-cache
     [java] Host: localhost:9090
     [java] Accept: image/png,*/*;q=3D0.5
     [java] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7) Gecko/20040803 Firefox/0.9.3
     [java] Keep-Alive: 300
     [java] Pragma: no-cache
     [java] Accept-Language: en-us,en;q=3D0.5
     [java] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7


     [java] DEBUG (ConnectionPipe.java:285) - Request prepared:
     [java] GET
http://localhost:9090/eshopp4/components/img/construction_4.gif HTTP/1.0
     [java] Cache-Control: no-cache
     [java] Host: localhost:9090
     [java] Accept: image/png,*/*;q=3D0.5
     [java] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7) Gecko/20040803 Firefox/0.9.3
     [java] Keep-Alive: 300
     [java] Pragma: no-cache
     [java] Accept-Language: en-us,en;q=3D0.5
     [java] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7


     [java] DEBUG (ConnectionPipe.java:146) - response code: 200
     [java] DEBUG (HttpResponse.java:43) - Stripping Content-Length,
was: 12305
     [java] DEBUG (HttpMessage.java:62) - header string:
     [java] HTTP/1.1 200 OK
     [java] Date: Mon, 13 Sep 2004 13:45:15 GMT
     [java] Server: Apache-Coyote/1.1
     [java] Content-Type: image/gif
     [java] Last-Modified: Mon, 06 Sep 2004 07:56:23 GMT
     [java] ETag: W/"12305-1094457383033"
     [java] Content-Length: 0


     [java] DEBUG (ConnectionPipe.java:208) - sent binary data
     [java]  WARN (CodeGeneratingProxyObserver.java:54) - pages with
content-type image/gif are not processed
     [java] DEBUG (ConnectionPipe.java:119) - roundtrip processed
     [java] DEBUG (ConnectionPipe.java:127) - request handler finished.

------------------------------------
Netonomy
Philippe IMOUCHA
Application Group - Progam Management Director
phil@netonomy.com
49-51, rue Ganneron
75018 PARIS
France
tel: +33 (0) 1 74 30 74 03
fax: +33 (0) 1 74 30 74 41
mobile: +33 (0) 6 11 48 35 34
------------------------------------

-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com] On Behalf Of Dierk Koenig
Sent: Monday, September 13, 2004 15:25
To: webtest@lists.canoo.com
Subject: RE: [Webtest] Click-o-matic issues

ok, this seems to be a different issue.

the server sends
304 Not Modified
meaning, see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

We may need to suppress the
If-Modified-Since
header.

You can go to
Click-O-Mat.jar and edit the file
configuration.properties.
It only contains the line:
clickomat.remove.request.headers=3DAccept-Encoding, Referer,
Proxy-Connection

Add the above header such that it reads:
clickomat.remove.request.headers=3DAccept-Encoding, Referer,
Proxy-Connection,
If-Modified-Since

(the mail client may have broken the line,
do everything on one line.)

hope that helps
Mittie

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com] On Behalf Of Dierk Koenig
> Sent: Monday, September 13, 2004 13:08
> To: webtest@lists.canoo.com
> Subject: RE: [Webtest] Click-o-matic issues
>
> any log output on the console?
>
> > -----Original Message-----
> > From: webtest-admin@lists.canoo.com
> > [mailto:webtest-admin@lists.canoo.com]On Behalf Of Philippe IMOUCHA
> > Sent: Montag, 13. September 2004 11:07
> > To: webtest@lists.canoo.com
> > Subject: RE: [Webtest] Click-o-matic issues
> >
> >
> > As you mention I have added the mime mapping to my tomcat
> configuration
> > ad restart the application
> > Nothing change same pb
> >
> > Here is a little test case that I try to record but the browser
> doesn't
> > show the images while using the proxy while without the proxy it's
> fine!
> >
> > <html>
> > <head>
> >   <meta http-equiv=3D"content-type" content=3D"text/html;
> > charset=3DISO-8859-1">
> >   <title>Click on a button</title>
> > </head>
> > <body>
> >   <IMG SRC=3D"../components/img/construction_1.gif"><br>
> >   <IMG SRC=3D"../components/img/construction_2.gif"><br>
> >   <IMG SRC=3D"../components/img/construction_3.gif"><br>
> >   <IMG SRC=3D"../components/img/construction_4.gif"><br>
> > </body>
> > </html>
> >
> > Phil
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest