[Webtest] is it possible to include python in Webtest XML code
Paul King
Paul King <paulk@asert.com.au>
Wed, 17 Jan 2007 14:49:53 +1000
You'll need both bsfXXX.jar and jython.jar in your classpath.
The bsf-2.4.0.jar comes with the standard distribution but may
have been left off your classpath during installation or
configuration. The jython.jar comes from jython.org.
Chang Su wrote:
> Hi,
>
> I tried to use scriptStep to work with jython but
> getting exceptions,
>
> <scriptStep language="jython"><![CDATA[
> ]]></scriptStep>
>
>
>
> BUILD FAILED
> com.canoo.webtest.engine.StepExecutionException: Error
> invoking script: java.lang.ClassNotFoundException:
> org.apache.bsf.engines.jython.JythonEngine, Step:
> ScriptStep at
> /usr/webtest/MyTests/simple1/SimpleHTTPS_3X.xml:63:
> with (language="jython", script="
> ", taskName="scriptStep")