0

The browser page for the test displays

Unexpected exception caught: org.apache.tools.ant.BuildException.

The console log shows no errors.

I know the project is defunct, but I love the package and hope someone has a suggestion.

MWiesner
  • 8,868
  • 11
  • 36
  • 70
  • This email chain suggests the class is missing from the jar. https://www.mail-archive.com/webtest@lists.canoo.com/msg08248.html. My own testing verifies this. – Ralph LeVan Mar 26 '18 at 20:01
  • Please edit your question and add the full stack, in case it is available in either the console output or in the log files (you can generate debug output for this). Moreover, add as much detail as you have on your build- / execution environment (including version numbers). – MWiesner Mar 26 '18 at 20:01
  • Sorry @MWiesner. The console log shows no error. The only report is on the HTML page canoo builds. – Ralph LeVan Mar 26 '18 at 20:02
  • Version 3.0 of Canoo WebTest (the latest on their site.) I see the same problem in Unix and Windows 10. Both environments are running java 8. – Ralph LeVan Mar 26 '18 at 20:18

1 Answers1

0

I've come up with a workaround. If the original test looked like this:

<!-- language: lang-xml -->
<verifyHeader name="Content-Type" text="application/x-gzip"/>

You can replace it with this:

<!-- language: lang-xml -->
<storeHeader name="Content-Type" property="contentType"/>
<verifyProperty name="contentType" text="application/x-gzip"/>