FTS Web Service test during development
Once you have a local workspace with all the components built properly you can run some local test,
given that you have to set ORACLE_USER, ORACLE_PASSWORD and ORACLE_CONNECT to point to
your test database.
./org.glite.data/bin/e-env
# to get all the LD_LIBRARY_PATH properly
cvs co org.glite.data.test-utils
cd org.glite.data.test-utils
make install
# I know, I shall ETICSify it properly...
cd ..
cd org.glite.data.transfer-fts
ant test.configure
# creates test certificates to $GLITE_LOCATION/share/test/certificates
# loads the delegation and fts schema
# generates various mapfiles
# loads a fake agents into the database
ant tomcat.start
# will start the Tomcat server
cd ..
cd org.glite.data.transfer-cli/test
./test-all.sh
# connects to the previous service using the test certificates
# and tests:
# - channel operations
# - delegation
# - job submission and canceling
cd ..
cd org.glite.data.transfer-fts
ant tomcat.stop
# sometimes it does not work, so you may need to kill it by hand
ant test.unconfigure
# which drops the database and deletes any configuration
--
AkosFrohner - 09 Jul 2009