This document describes steps to setup Cactus to unit test Server side code (i.e. EJBs, Servlets, etc) deployed to Weblogic 6.1 within JBuilder5 IDE.
The steps described below apply to current release (Cactus 1.3 as of this writing) and assume that Cactus has been installed correctly (which means that you can run sample successfully).
Create cactus.properties file: Add entry to identify the URL of the redirector (see the Configuration Howto for details).
Follow these steps:
"cactus"
in the Name field. Choose
"user home"
from the Location drop down menu.
[cactus home]/lib/
directory, select
cactus.jar
and click OK button.
cactus.properties
file is saved.
junit.jar
,
httpclient.jar
and aspectjrt.jar
which are
all in [cactus home]/lib
directory
log4j.jar
in
[cactus home]/lib
directory to enable cactus logging
web.xml
in WEB-INF
directory of the
web application deployed on Weblogic
<web-app>
element.
cactus.jar
, junit.jar
,
aspectjrt.jar
and
log4j.jar
(optional) to WEB-INF/lib
directory of the web application
WEB-INF/classes
directory of
the web application