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
2 answers
Hi Lars,
I think this a RQM defect although QM specification does not mandate this property.
Please file a defect RQM New Defect
I think this a RQM defect although QM specification does not mandate this property.
Please file a defect RQM New Defect
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.
I'm not clear on the issue with the test script with either API.