putStandAlone Exception Testing

Test Objectives

This test exercises exceptions in eventmonAPI and handling of multidim data for putStandAlone command.

The LDAS APIs affected by this test are:

Setup

Choose a directory to install the tests scripts. e.g. /ldas_usr/ldas/test/database

Test Execution

  1. Login to site gateway box e.g. dev, as user ldas
  2. cd <your work directory>
  3. Usage:   /ldas/bin/putStandAlone [options] >& putStandAlone.log &

    Option Description
    --database database name at a site e.g. ldas_tst
    --runtimes number of times to repeat this test e.g. 3, to test fix for  PR2454. Defaults to 1 and to 3 times when run by SystemTest.tcl,the main test script..

    e.g. with globus sockets:

            
       	putStandAlone.tcl --site dev -debug 0 -verbose lpse --enable-globus 1 --enable-gsi 1 
        	--database dev_1  >& putStandAlone.log &
    and with tcl sockets:
    
            putStandAlone.tcl --site dev -debug 0 -verbose lpse --enable-globus 0 --enable-gsi 0 
            --database dev_1  >& putStandAlone.log &
    To enable debugging, set debug level to 1 or greater:
            
       	putStandAlone.tcl --site dev -debug 1 -verbose lpse --enable-globus 1 --enable-gsi 1 
        	--database dev_1 --qa-debug-level 1  >& putStandAlone.log &
    The test is repeated

    Test Validation

    Verify all tests match expected response. The following is the result when the test is ran 3 times:
    
            putStandAlone.tcl:      Total   30      Passed  30      Skipped 0       Failed  0