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.

    # 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
    # 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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-07-09 - AkosFrohner
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback