[Webtest] is it possible to include python in Webtest XML code
Chang Su
Chang Su <changsu0822@yahoo.com>
Wed, 17 Jan 2007 08:51:22 -0800 (PST)
just wanted report back that my problem gets fixed by
setting CLASSPATH outside my xml files,
CLASSPATH=/usr/webtest/lib:/usr/webtest/lib/optional
export CLASSPATH
where I have jython.jar under
/usr/webtest/lib/optional.
Thanks a lot Paul!!
--- Paul King <paulk@asert.com.au> wrote:
>
> 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")
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091