17 messages in com.canoo.lists.webtestRE: [Webtest] Click-o-matic issues
FromSent OnAttachments
Erskine, Chris10 Sep 2004 05:35 
Dierk Koenig10 Sep 2004 06:24 
Philippe IMOUCHA10 Sep 2004 06:48 
Erskine, Chris10 Sep 2004 07:44 
Dierk Koenig10 Sep 2004 09:28 
Dierk Koenig10 Sep 2004 11:59 
Philippe IMOUCHA13 Sep 2004 02:06 
Dierk Koenig13 Sep 2004 04:07 
Philippe IMOUCHA13 Sep 2004 05:21 
Philippe IMOUCHA13 Sep 2004 05:35 
Dierk Koenig13 Sep 2004 06:24 
Philippe IMOUCHA13 Sep 2004 06:52 
Erskine, Chris13 Sep 2004 10:49 
Dierk Koenig13 Sep 2004 11:34 
Dierk Koenig17 Sep 2004 10:33 
Ji Kim20 Sep 2004 18:04 
Dierk Koenig21 Sep 2004 01:45 
Subject:RE: [Webtest] Click-o-matic issues
From:Dierk Koenig (dier@canoo.com)
Date:09/13/2004 11:34:09 AM
List:com.canoo.lists.webtest

Proxy-Connection: keep-alive still appears in the "cleaned request" this should not be. All Proxies are supposed to remove it.

Is "Proxy-Connection" still in your list of "headers to remove"? remember: they must all be on one line.

cheers Mittie

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Philippe IMOUCHA Sent: Montag, 13. September 2004 15:53 To: webt@lists.canoo.com Subject: RE: [Webtest] Click-o-matic issues

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

[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=0.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=0.5 [java] Proxy-Connection: keep-alive [java] Accept-Encoding: gzip,deflate [java] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.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=0.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=0.5 [java] Proxy-Connection: keep-alive [java] Accept-Encoding: gzip,deflate [java] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.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=0.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=0.5 [java] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.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=0.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=0.5 [java] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

[java] DEBUG (ConnectionPipe.java:290) - url.toExternalForm() = http://localhost:9090/eshopp4/components/img/construction_4.gif [java] DEBUG (ConnectionPipe.java:292) - con.getClass() = 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=0.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=0.5 [java] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.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=0.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=0.5 [java] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.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.

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com] On Behalf Of Dierk Koenig Sent: Monday, September 13, 2004 15:25 To: webt@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=Accept-Encoding, Referer, Proxy-Connection

Add the above header such that it reads: clickomat.remove.request.headers=Accept-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: webt@lists.canoo.com [mailto:webt@lists.canoo.com] On Behalf Of Dierk Koenig Sent: Monday, September 13, 2004 13:08 To: webt@lists.canoo.com Subject: RE: [Webtest] Click-o-matic issues

any log output on the console?

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Philippe IMOUCHA Sent: Montag, 13. September 2004 11:07 To: webt@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="content-type" content="text/html; charset=ISO-8859-1"> <title>Click on a button</title> </head> <body> <IMG SRC="../components/img/construction_1.gif"><br> <IMG SRC="../components/img/construction_2.gif"><br> <IMG SRC="../components/img/construction_3.gif"><br> <IMG SRC="../components/img/construction_4.gif"><br> </body> </html>