Error when trying to import example "TestPlan with TestCases 001" to RQM
When I try to import the example "TestPlan with TestCases 001" (using the example config too) to RQM using the RQMExcelImporter, I am getting the following error (I don't have any problems importing my own testcases, but would like to be able to import to a testplan):
Initializing.....
Reading Configuration File....
Getting artifacts from document - "TestPlan with TestCases 001.xls".....
Sending artifacts to http://qualitymanager/qm.....
Sending testcase 0 named TestPlan_with_TestCases_001_Acme_Hammers_1.xml...
Error sending to server TestPlan_with_TestCases_001_Acme_Hammers_1.xml of type testcase
The remote server returned an error: (403) Forbidden.
Sending testcase 1 named TestPlan_with_TestCases_001_Acme_Hammers_2.xml...
Error sending to server TestPlan_with_TestCases_001_Acme_Hammers_2.xml of type testcase
The remote server returned an error: (403) Forbidden.
Sending testcase 2 named TestPlan_with_TestCases_001_Acme_Hammers_3.xml...
Error sending to server TestPlan_with_TestCases_001_Acme_Hammers_3.xml of type testcase
The remote server returned an error: (403) Forbidden.
Sending testcase 3 named TestPlan_with_TestCases_001_Acme_Hammers_4.xml...
Error sending to server TestPlan_with_TestCases_001_Acme_Hammers_4.xml of type testcase
The remote server returned an error: (403) Forbidden.
Sending testcase 4 named TestPlan_with_TestCases_001_Acme_Hammers_5.xml...
Error sending to server TestPlan_with_TestCases_001_Acme_Hammers_5.xml of type testcase
The remote server returned an error: (403) Forbidden.
Sending testplan 5 named TestPlan_with_TestCases_001_Acme_Hammers_1.xml...
Error sending to server TestPlan_with_TestCases_001_Acme_Hammers_1.xml of type testplan
The remote server returned an error: (403) Forbidden.
Exporting completed with 6 failures!
Detailed log file at: C:\Users\b38682\AppData\Roaming\Mso2Rqm\130888457299324379 log.txt
One answer
From the logs it looks like the user doesn't have create permission for Testcase and Testplan artifact. Please the check permissions for that user.
Check if you are able to create TestCase and TestPlan from RQM UI by logging in as that user which you used to export
Comments
I have just created a manuel Testplan without any issues and same thing with testcases (those I have created both manually and via import)
Also getting same error when I try the "Scripts that create testcases with comments.xls" example
Hi Klaus,
This is purely permission issue. Forbidden error only comes if the user doesnt have permission. What process roles is being assigned to the user? Try to give Data Migration Administrator role and give all permissions to this role. See if this works
Comments
Jörg Werner
Oct 09 '15, 4:51 a.m.pPlease check for import rights:
I assume the XML rights are missing.