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

Start time not set when creating Test Result using OSLC v2 QM interface

When creating a new Test Result record via the OSLC v2 QM REST API the start time is not set.
The spec does not define any starttime attribute so there is no way to explicit set the value.
(The RQM UI shows starttime as N/A and in some cases 1970 January 1) 

We have used the RQM proprietary REST API to create the Test Result artifact and this correctly sets the starttime (as specified in the request), but a small side effect is that test script is not set (but is defined in the request).

As it looks right now we have to create the artifact using OSLC and then update the artifact with the RQM REST API  to have both starttime and script set.  

Is there any way to make just one request? Preferably just using OSLC.

Using RQM 4.0 

//Lars




0 votes



2 answers

Permanent link
Hi Lars,
I think this a RQM defect although QM specification does not mandate this property.
Please file a defect RQM New Defect

0 votes

Comments

Hi, Okey will do, but it will be two deftects: One for the OSCL QM API and one for the RQM REST API //Lars


Permanent link
Lars, this is a limitation in the OSLC QM V2 specification (see http://open-services.net/bin/view/Main/QmSpecificationV2?sortcol=table;up=#Resource_TestResult).  To work around this limitation, you will need to use the public RQM Reportable REST API (https://jazz.net/wiki/bin/view/Main/RqmApi) to update the property (see https://jazz.net/products/rational-quality-manager/api-doc-4.0/api-files/schemas/qm_xsd/elements/executionresult_2.html#r24).  Note, the OSLC resource contains the RQM Reportable REST API URL in the dcterms:relation property.

I'm not clear on the issue with the test script with either API.

0 votes

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
× 12,015
× 30

Question asked: Aug 17 '12, 10:08 a.m.

Question was seen: 4,759 times

Last updated: Aug 20 '12, 1:59 p.m.

Confirmation Cancel Confirm