how to find executionWorkItem for the given Testcase and Configuration using RQM APIs?
Using RQM APIs, I am planning to create executionworkItem before creating executionresult. But executionWorkItem creation fails, if we have already Test execution Record with the given test case info and configuration.
Is there a way to find executionWorkItem record for the given test case info and configuration?
Thanks.
One answer
Yes. You can use fields filtering to query for the TCER based on the title, test case, test phase, configuration, etc. (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources).
When your creation operation 'fails', is the response a 303 with the location of the duplicate TCER (see https://jazz.net/wiki/bin/view/Main/RqmApi#HTTP_Responses)?