RQM could not find RPT test scripts in local test machine
I tried to integrate RQM with RPT. I have configured RPT adpater correctly, and RQM can connect to RPT client successfully.
I follow the below steps but failed at step 5:
1.From the left sidebar, point to the Construction icon (Construction), and click Create Test Script.
2.Select one of the following test script types: Performance Test.
3.In the window that opens, click Use test resources that are local to a test machine.
4.Click the Adapter that I have setuped to connect to RQM server. Click next.
5.Whether I enter the absolute project path or just the project name, the script could not be fetched. It prompts "No items found".
My workspace only contains pure Java project, and I want to run just the JUnit test cases. How RQM pick up test script from local test machine? Does it only allow RPT test suites?
Does anyone have tried that before? If so, could you pls guide me on how to list all test scripts or test cases that I have in the workspace. Thanks very very much!
I follow the below steps but failed at step 5:
1.From the left sidebar, point to the Construction icon (Construction), and click Create Test Script.
2.Select one of the following test script types: Performance Test.
3.In the window that opens, click Use test resources that are local to a test machine.
4.Click the Adapter that I have setuped to connect to RQM server. Click next.
5.Whether I enter the absolute project path or just the project name, the script could not be fetched. It prompts "No items found".
My workspace only contains pure Java project, and I want to run just the JUnit test cases. How RQM pick up test script from local test machine? Does it only allow RPT test suites?
Does anyone have tried that before? If so, could you pls guide me on how to list all test scripts or test cases that I have in the workspace. Thanks very very much!
4 answers
The RPT adapter for RQM will only be able to find and execute RPT performance test and RPT performance schedules. It can not deal with JUnit test. When you import or create a Performance Test script in RPT the adapter will only return RPT .testsuite files, in the list returned to RQM web UI. That's why it's saying no items found.
If you know a way to run your JUnits from a command-line, then you can probably use the RQM command-line adapter, however I've never tried running JUnits via the commad-line, so i can't advice any further.
If you know a way to run your JUnits from a command-line, then you can probably use the RQM command-line adapter, however I've never tried running JUnits via the commad-line, so i can't advice any further.
The information in the RQM InfoCenter about creating test scripts is common between all the adapters, including the command-line adapter (aka CLA). For information specific to the CLA, take a look at the readme.txt file in this location: <RQM_INSTALL_DIR>\adapters\RQMCommandLineAdapter.zip. This will be on the machine where you installed RQM, but it's worth noting that you are not restricted to running the CLA on the machine with RQM install. You can run the CLA on any windows/linux box with JRE 1.5 or higher. Please see readme.txt for more details.