[Webtest] how does followframe work ?

Parker, Michael webtest@lists.canoo.com
Wed, 28 Jul 2004 16:26:18 +0200


Hallo,

in between I changed to the the newest (hopefully still ;-)) build of canoo
474

I set 

## standard way of logging
log4j.rootCategory=DEBUG, stdout
log4j.logger.com.canoo.webtest.steps.request=debug
log4j.logger.com.canoo.webtest.engine.Context=debug
 debug http header relay
log4j.logger.com.meterware.httpunit=debug

but I get still just this.

I've cut the really long URL in the protocol, but a check by copyAndPaste in
a browser window verified the URL.

unv_04-09-system2_policierung.xml:
 [testSpec]  WARN (Configuration.java:237) - Attribute "verbose" is
deprecated and will be removed in a future version. Adapt the
log4j.properties to control logging.
 [testSpec]  INFO (Step.java:211) - Start Step: null "[implict setup step]"
(1/3)
 [testSpec] DEBUG (Step.java:103) - Executing null ([implict setup step])
 [testSpec] DEBUG (Step.java:105) - Finished null ([implict setup step])
 [testSpec]  INFO (Step.java:206) - Completed Step: null "[implict setup
step]" (1/3)
 [testSpec]  INFO (Step.java:211) - Start Step: invoke "Aufruf Unfall und
Setzen der Seiteninhalte" (2/3)
 [testSpec] DEBUG (Step.java:103) - Executing invoke (Aufruf Unfall und
Setzen der Seiteninhalte)
 [testSpec]  INFO (Target.java:146) - -> gotoTarget(by url):
http://localhost:8080/ri_un...
 [testSpec]  INFO (TestSpecificationTask.java:127) - Writing report using
Report class: com.canoo.webtest.reporting.XmlReporter
 [testSpec]  INFO (TestSpecificationTask.java:144) - Test summary
successfully created.

Nevertheless, I get in the TestResultOverview:

Failure
Message
com.canoo.webtest.engine.StepFailedException: Step "invoke "Aufruf Unfall
und Setzen der Seiteninhalte" (2/3): Http error 505, at: page -
url=http://localhost:8080/ri_u..., Step: InvokePage at
file:D:/SEU/Projekte/ccCanooUNV/cases/all/unv_04-09-system2_policierung.xml:
48: with (stepId="...", url="/ri_u...


The tests run against a tomcat 5.0.25-instance which should not return "505
HTTP Version Not Supported". 
There is nothing special to find in the server logs.

The difference to the testcases I wrote before is still some necessary
Java-scriplest inside of the invoked page.


<%@ page language="java" %>
<%@ taglib uri="... %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
</HEAD>

<vtsbt:btenvchecker produkt="ri_unvr"/>
  <%@ page import
%><%
 		[java-code]
%>
<FRAMESET 
[...]
</FRAMESET>
</HTML>


Any idea what is going on ?

Michael



------------------------------------------------------------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist. Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately.

==============================================================================