Why does the import of Test Case Execution Record Categories give an error 400?
Using the Excel Importer with RQM 4.0.1 and trying to import test case execution record with a category will result in a 400 error and the TCER not being imported.
Example:
A config file for the importer holds a line like this:
executionworkitem.category term="MyExecutionRecord".value=B2
Trying to import the sheet gives the following error:
"Error sending to server myExcelSheet.xml of type executionworkitem
The remote server returned an error: (400) Bad Request."
This is working fine for Test Cases with categories in the same sheet and the above example also works fine using the latest RQM version 4.0.3.
A workaround until you can upgrade your RQM server to 4.0.3:
set the Category name and value in the UI of RQM 4.0.1 and 4.0.2 and afterwards the import will work fine.
Example:
A config file for the importer holds a line like this:
executionworkitem.category term="MyExecutionRecord".value=B2
Trying to import the sheet gives the following error:
"Error sending to server myExcelSheet.xml of type executionworkitem
The remote server returned an error: (400) Bad Request."
This is working fine for Test Cases with categories in the same sheet and the above example also works fine using the latest RQM version 4.0.3.
A workaround until you can upgrade your RQM server to 4.0.3:
set the Category name and value in the UI of RQM 4.0.1 and 4.0.2 and afterwards the import will work fine.