From f1525316829c9189821c8c88cebfe4e688912e4f Mon Sep 17 00:00:00 2001 From: madiot <madiot@localhost> Date: Wed, 19 Mar 2008 17:59:31 +0000 Subject: [PATCH] implement DSML functional testing for the DSML gateway. - create a tests suite's external dependency directory as "opends/tests/ext". This holds for now externally built bits used for test suites. - dsmlService : in house built STAF service extension to perform DSML result comparaison. - download tomcat webcontainer from ant similarily to other STAF bits - added plumbing to enable the STAF's DSML service and enable the STAF's HTTP service in : - functional-tests.cfg - staf-installer.xml - add create a "dsml" testcase suite - dsml_setup.xml - create instance of directory server - installs a Tomcat webcontainer - deploys DSML gateway - dsml_test.xml - use the HTTP service to post DSML SOAP requests (TESTxyz.dat) - save results as file (TESTxyz.run) and compare the results from reference results (TESTxyz.res) via the dsmlService - dsml_cleanup.xml - stop directory and tomcat server - remove directory and tomcat server - related issue tacker : https://opends.dev.java.net/issues/show_bug.cgi?id=2485 remain to do : ----------------- - SSL - configure Tomcat to support HTTPS requests to the DSML gateway. - include the dsmlService.jar source inside the code repository's refactored build env and remove the locally built dsmlService.jar from opends/tests/ext - verify potential extra work to be done for windows platform --- opends/tests/functional-tests/config/config.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/opends/tests/functional-tests/config/config.py b/opends/tests/functional-tests/config/config.py index b560485..a7f771e 100644 --- a/opends/tests/functional-tests/config/config.py +++ b/opends/tests/functional-tests/config/config.py @@ -52,3 +52,13 @@ LOGS_URI = '' SEND_MAIL_AFTER_TEST_RUN = 'false' SEND_MAIL_TO = '' +WC_TYPE = 'apache-tomcat' +WC_VERSION = '6.0.14' +WC_ZIPPATH = '%s/tests/ext' % OPENDSDIR +WC_ZIPNAME = '%s-%s.zip' % (WC_TYPE, WC_VERSION) +WC_DIRECTORY = '%s' % TMPDIR +WC_PORT = '9000' +WC_SSL_PORT = '9001' +WC_HOST = 'localhost' +DSML_WARNAME = 'OpenDS-1.0.0-DSML.war' +DSML_WARPATH = '%s/build/package/%s' % (OPENDSDIR, DSML_WARNAME) -- Gitblit v1.10.0