Query Test Results modified after a specific date
I would like to query RQM for the test results in a project area which are modified after a specific date. I am using the oslc query parameters to do the same. Please find the url I am using below
https://<hostname>/qm/oslc_qm/contexts/<project_uuid>/resources/com.ibm.rqm.execution.ExecutionResult?%22dcterms:modified%22%3E%222023-01-01T00:00:00.000Z%22
But it is still returning the total test results present in the RQM. Kindly help in filtering the results based on the date modified.
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Jan 19 '23, 4:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jan 19 '23, 4:09 a.m. I have done an example and the unencoded query looked like this: dcterms:modified > 2021-06-07T12:58:13.929Z.
In your query "dcterms:modified">"2023-01-01T00:00:00.000Z" I think the quote characters are the issue.
I have seen that the OSLC Query tends to return everything in case there are issues in the parameters in some cases.
It would be better to create an error, but sometimes this does not happen.
Karthikeyan P selected this answer as the correct answer
Comments
Karthikeyan P
commented Jan 19 '23, 5:54 a.m.
Hi Ralph,
Yes, the quote characters are the issue. I can get correct results with the below query parameters
?oslc.where=dcterms:modified>%222023-01-01T00:00:00.000Z%22.
Thank you for your clarification.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.