Performance Tests #575765/HEAD / v16829 |
Tags:
not added yet
Performance TestThis Wiki page describes how the performance of a codeBeamer instance can be measured.
Table of Contents
RequirementscodeBeamer must be running and accessible via an URL and codeBeamer's system administrator name and password must be also available. Because requests are sent from several accounts parallel to codeBeamer the number of required floating ALM licenses can be calculated as below: Project count * (Browse user count + Search user count + Create user count) As default this equals to: 20 * (7+1+2) = 200 JMeter must be installedJMeter 5.4 requires Java 8 or higher. JMeter is not supported since codebeamer release 22.10-LTS (GINA). For codebeamer release 22.10-LTS (GINA) and newer, use Gatling to test performance.Most Linux distribution include JMeter however it can be also downloaded from http://jmeter.apache.org/download_jmeter.cgi. Running the performance tests on the same host where also codeBeamer is running does not significantly impact the results and has the advantage that network speed does not impact the test results. Currently JMeter tests run with JMeter 5.4.x Performance MonitoringWe can setup a monitoring Performance Monitoring as well. You can find more details about the installation procedure and security setting of Moskito server using the following You must login to see this link. Register now, if you have no user account yet.. Download Test scriptsThe scripts are shipped with codeBeamer and are available under /install_dir/tomcat/webapps/cb/performance-test.zip.Performance Test Data generationDefault parameters for Test DataThe table below shows configurable parameters and their default values:
To modify the variables start jmeter with the command below: $ jmeter -t cb-performance-test-setup.jmx Now click on Create codeBeamer Performance Test Environment. To change a value just double click on the variable available in column Value as on the screen-shot below: File->Save menu item can be used to save the modifications. Run data generationIt must be always ensured that the tests run again a new codeBeamer instance where the installation (including post install) is just completed. The tests can not be repeated, always a new codeBeamer instance must be available. The tests/scripts require that jmeter is in your PATH.The initial accounts, projects and some working items are created with script performance-test-setup: ./performance-test-setup protocol server port sysadmin_name sysadmin_password context_path example: $ ./performance-test-setup http localhost 8080 bond 007 /cb/ Please refer to Check+Test+Results to analyse the results. Executing Performance TestsDefault parameters for Perfomance TestThe table below shows configurable parameters and their default values:
To modify the variables start jmeter with the command below: $ jmeter -t cb-performance-test.jmx Now click on Run codeBeamer Performance Test. To change a value just double click on the variable available in column Value as on the screen-shot below:
File->Save menu item can be used to save the modifications. Run performance testIt must be always ensured that the tests run again a new codeBeamer instance where the installation (including post install) is just completed. The tests can not be repeated, always a new codeBeamer instance must be available.The performance tests can be executed with script performance-test: ./performance-test protocol server_port context_path example: $ ./performance-test http localhost 8080 /cb/Please refer to Check+Test+Results to analyse the results. Check Test ResultsThe performance test results will be stored into a files with extension jtl. The command below can be used to view performance test result data: jmeter -t cb-results.jmx Default result files are:
Load result:
Export result to CSV: click on Save Table Data button Intland's Performance Test ResultTest hardware
codeBeamer 21.09-lts ResultsPostgreSQL(8 GB codeBeamer, 8 CPU) |
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.