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 delete all results that are stored in a results database is as follows:
The syntax to delete all results of the tests in a project that are stored in a results database is as follows:
- Database URL as jdbc:db2://localhost:50000/resultdb
- User name as jkelly
- Password as hayling
IntegrationTesterCmd --project c:\MyProjects\testproject1 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:
For example, to delete all test 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
The following table lists the options that you can use with the
IntegrationTesterCmd
command for deleting all test results.
Options | Description |
---|---|
--project/-p | Path to project file (optional). Used
to limit the deletion to test suite results to a specific project. If not specified
then databaseUrl , dbuser , and
password are the required options. |
--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 |