Running JMS CTS

JMS CTS is run via the jmscts.bat script (Windows) or the jmscts.sh script (Unix).

These are located in the $JMSCTS_HOME/bin directory.

Running compliance tests

To run the compliance tests:

Windows

> cd %JMSCTS_HOME%\bin
> jmscts.bat run          
        

Unix

> cd $JMSCTS_HOME/bin
> jmscts.sh run         
        

On completion, a coverage report report is written to $JMSCTS_HOME/report/html/coverage.html . This contains tests run, requirements covered, and the number of passes and failures.

Running stress tests

To run the stress tests:

Windows

> cd %JMSCTS_HOME%\bin
> jmscts.bat stress
        

Unix

> cd $JMSCTS_HOME/bin
> jmscts.sh stress
        

On completion, a statistics report report is written to $JMSCTS_HOME/report/statistics.html . This indicates the elapsed time for each test.

Taking snapshot reports

The compliance and stress tests take some time to run, so it is often useful to take a "snapshot" while they are running:

Windows

> cd %JMSCTS_HOME%\bin
> jmscts.bat snapshot ../report
        

Unix

> cd $JMSCTS_HOME/bin
> jmscts.sh snapshot ../report
        

This will generate reports as indicated in the previous sections.

Stopping JMS CTS

To stop the test suite:

Windows

> cd %JMSCTS_HOME%\bin
> jmscts.bat stop
        

Unix

> cd $JMSCTS_HOME/bin
> jmscts.sh stop
        

This will perform an orderly shutdown of JMS CTS, and generate reports as indicated in the previous sections.

To abort a test (perhaps because it has hung), replace the stop argument with abort