Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

OSLC Automation Result fails without Test Case reference

It looks to me like an Automation Result POST into the RQM system (as detailed in https://jazz.net/wiki/bin/view/Main/RQMTestAutomationAdapterAPI Steps 32 - 36) fails if the oslc_qm:reportsOnTestCase triple is not defined (returns 409 result).

In general, I wouldn't think that this is a big problem (though it is listed as optional in the API doc, and not mentioned in the example).  The problem I have is that I can't find any way that I can actually find the current test case that is being executed.  The Automation Request resource has the following property: oslc_qm:executesTestScript.  However, the Test Script resource only provides the following triples: oslc_qm:executionInstructions, oslc_qm:relatedChangeRequest, and oslc_qm:validatesRequirement.

How can I find the Test Case that caused a given Automation Request so that I can link it in the Automation Result?  Otherwise, how can I create an Automation Result without specifying the Test Case?

0 votes


Accepted answer

Permanent link
Hi Elliot,

If you look at the AutomationResult resource shape, the oslc_qm:reportsOnTestCase property is required.  The AutomationRequest resource should reference the oslc_qm:TestExecutionRecord in the oslc_auto:executesAutomationPlan property, which contains the executed test case.

We will update the WIKI under RQM Test Automation Adapter API Reference contains incorrect Automation Result vocabulary. (100877).
Elliot Morrison-Reed selected this answer as the correct answer

1 vote

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937
× 516
× 30

Question asked: Nov 25 '13, 10:07 a.m.

Question was seen: 7,164 times

Last updated: Nov 25 '13, 3:24 p.m.

Confirmation Cancel Confirm