[Webtest] Testing with a GZip Filter enabled

Raible, Matt webtest@lists.canoo.com
Thu, 10 Jul 2003 14:02:14 -0600


I have recently added a compression filter (http://tinyurl.com/f5o0) to my
application, and now I'm getting the following error on the step below.

I'm using build 265, JDK 1.4.2, Ant 1.5.3-1 and Tomcat 4.1.24.

Thanks,

Matt

<clickbutton label="Update" stepid="Click the Update button"/>

updatePassword:
    [canoo] Rhino classes (js.jar) not found - Javascript disabled
    [canoo] java.io.EOFException
    [canoo]     at
java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:200)
    [canoo]     at
java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:190)
    [canoo]     at
java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:130)
    [canoo]     at
java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
    [canoo]     at
java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
    [canoo]     at
com.meterware.httpunit.WebResponse.defineRawInputStream(WebResponse.java:617
)
    [canoo]     at
com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:57)
    [canoo]     at
com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:66)
    [canoo]     at
com.meterware.httpunit.WebClient.getResource(WebClient.java:101)
    [canoo]     at
com.meterware.httpunit.WebClient.getResponse(WebClient.java:82)
    [canoo]     at
com.canoo.webtest.steps.request.Target.getResponse(Target.java:272)
    [canoo]     at
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:216)
    [canoo]     at
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:172)
    [canoo]     at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:92)
    [canoo]     at com.canoo.webtest.steps.Step.execute(Step.java:54)
    [canoo]     at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
    [canoo]     at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:55)
    [canoo]     at org.apache.tools.ant.Task.perform(Task.java:341)
    [canoo]     at org.apache.tools.ant.Target.execute(Target.java:309)
    [canoo]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [canoo]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [canoo]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [canoo]     at org.apache.tools.ant.Task.perform(Task.java:341)
    [canoo]     at org.apache.tools.ant.Target.execute(Target.java:309)
    [canoo]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [canoo]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [canoo]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [canoo]     at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [canoo]     at org.apache.tools.ant.Main.start(Main.java:196)
    [canoo]     at org.apache.tools.ant.Main.main(Main.java:235)