REST API error for call in ALM 11.0

Question ID: 105650

Having read the REST API help file, it shows examples for retrieving test cases based on requirement ID coverage.

Here is an example call that we are trying:

Now requirement ID1278 is a valid and is the LOGAN project. In the UI you can open it, view the tests that cover it, etc.
When attempting the above call directly in IE window, I get an XML error:

Failed to obtain filter for table ‘TEST’
com.mercury.optane.core.CTdException: The relation from requirement to test is not
defined in the project at at at at$CFilterRecord.( at at at
com.mercury.optane.core.db.filter.DBFilter.loadFromString( at at wrapped in
com.mercury.optane.core.CTdException: Failed to obtain filter for table ‘TEST’ at

Other REST API commands seem to work, and some of the XML retuned seems to show some action, but unsure of why I get an error.

ALM 11.0 patch 14 is what my server is currently on.

Marked as spam
Posted by (Questions: 26, Answers: 22)
Asked on October 24, 2014 9:29 pm
Answers (1)
Private answer


Known issue by HP and already fixed.

The fix is part of updates covered in patch 18:

QCCR1J69684 Via REST API, it was possible to get the requirements filtered by the covering test IDs but not the tests filtered by the covered requirements. For example: /requirements?query={[184]} worked but /tests?query={[456]} did not work.

Please go about upgrading to patch 18 in order for your REST API command to pull proper results. I have tested out your same line (changing domain, project and the req ID number) and had success under patch 18.

Marked as spam
Posted by (Questions: 1, Answers: 116)
Answered on October 24, 2014 9:32 pm
Thanks, that QCCR does seem to cover it. I will get about patching then.
( at October 24, 2014 9:46 pm)