RQM REST API FOR Baseline
Dear Team,
I have got few REST APIs from a document (https://jazz.net/pub/new-noteworthy/rqm/6.0.3/6.0.3/index.html) to create baseline and stream.
The APIs are as follows :
Creating a new configuration
Create a new stream or baseline by executing an HTTP POST on the appropriate feed URI. POST https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/stream POST https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/baseline
I have tried hitting the APIs in rest client/postman,but I was not getting any results as expected. Please let me know the required request body and headers to use for creating stream and baseline at the earliest.
Thanks and Regards
Ajith
|
One answer
I got the answer myself :
Thanks everyone who have tried.
1.Create Baseline with API
1.1. API : https://hostname/qm/localVersioning/configurations/baselines Request Body : { "name": "Test baseline", "description": "Testing", "configurationId": "_yzHtL5cembPnRT_G_Q" } ConfigurationId is the stream UUID which we get from the artifact URL or using anyother way possible.
2. API to fetch test artifacts from a baseline :
https://hostname/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/testplan/urn:com.ibm.rqm:testplan:67? vvc.configuration=https://hostname/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/ baseline/_b_0VoJKvehU8SCp_Uorg
|
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.