Deleting all results by using the command line

You can delete all results and project data that is stored in the results database and you no longer require the stored results by using the Rational® Integration Tester command line.

The syntax to use is as follows:

IntegrationTesterCmd Options delete-all-results

The syntax to delete all results in a results database that is secured by a user name and password is as follows:

IntegrationTesterCmd --databaseURL <results_database_URL> --dbuser <user_name> --password <password> delete-all-results

For example, to delete all test suite results in a results database with the URL as jdbc:db2://localhost:50000/resultdb, user name as jkelly, password as hayling, the command is as follows:

IntegrationTesterCmd --databaseURL jdbc:db2://localhost:50000/resultdb --dbuser jkelly --password hayling delete-all-results

Note: When you run this command, you can view the progress of the deletion in a progress bar.
Important: After you delete all test suite results and project data in the results database, you must restart any Rational® Integration Tester workbench instances or Rational® Integration Tester Agent instances that were using the results database. 

The following table lists the options that you can use with the IntegrationTesterCmd command for deleting all test results.

Table 1. List of available options
Options Description
--databaseUrl/-b Results database URL. For more information on the specification of database URLs when using IP literal addresses, see IP literal address.
--dbuser/-g Results database user name
--password/-h Results database password