This page describes the Performance CLI tool used to measure and evaluate the performance between codebeamer and its database.
Running the database performance job is available from the command line. The same logic is executed as in case of the Database Performance Job within codebeamer.
The result of the tool run can be checked in System Administration ► Database performance job page menu. (It is also possible to check it in the DB (perftest, perftest_step tables))
Oracle, PostgreSQL
java -cp <codebeamer_install_folder>/perftestool/perf-test-tool-cli-<current_version>.jar com.intland.codebeamer.perftest.PerfTestApplication <parameters>
MySQL
Windows
java -cp <mysql_connector_folder>/mysql-connector-java-<connector_version>.jar;<codebeamer_install_folder>/perftestool/perf-test-tool-cli-<current_version>.jar com.intland.codebeamer.perftest.PerfTestApplication <parameters>
Linux, Mac
java -cp <mysql_connector_folder>/mysql-connector-java-<connector_version>.jar:<codebeamer_install_folder>/perftestool/perf-test-tool-cli-<current_version>.jar com.intland.codebeamer.perftest.PerfTestApplication <parameters>
Parameters
- conString - <arg> Connection string for the database - MANDATORY.
- conProp - <arg> Connection properties - Format: key1=value2;key2=value2;....etc. - OPTIONAL.
- username - <arg> Database username - MANDATORY.
- password - <arg> Database password - MANDATORY.
- source - <arg> Any string can be applicable here to distinguish the perf test runs from each other based on source - OPTIONAL (default value: External).