RQM REST API - PUT Request
CLM 5.0.1
We used to work in CLM 4.0.4 with the RQMUrlUtility to update Test Results (GET+PUT).
Recently, we have upgrade to CLM 5.0.1. The PUT command is broken. We receive error 400 as stated in https://jazz.net/wiki/bin/view/Main/RqmApi#PUT_requests.
We do not have an external ID. So PUT is no longer usable for us. POST command is also not usable as we want to update test result, not to create a new one.
Please advice,
Liora
2 answers
Hi Liora,
Please try using the HTTPRequester/Poster Firefox plug-ins. Also, what is the response content with the 400 (Bad Request) response? See https://jazz.net/wiki/bin/view/Main/RqmApi#Troubleshooting for more details.
Please try using the HTTPRequester/Poster Firefox plug-ins. Also, what is the response content with the 400 (Bad Request) response? See https://jazz.net/wiki/bin/view/Main/RqmApi#Troubleshooting for more details.
Comments
Paul, I didn't figure out how to use Ff as you suggested.
What I have done was to change the logger settings to DEBUG and than run the RQMUrlUtility with the PUT command again. This is what I have found in the qm.log file:
58627 2014-11-04 14:00:57,682 [http-bio-9443-exec-233 @@ 14:00 LMB /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+(Q uality+Management)/executionresult/urn:com.ibm.rqm:executionresult:47] DEBUG repository.service.internal.rdb.TransactionalCache - Returning VALID re port for entry status. The cache entry was: CacheEntry[key='com.ibm.rqm.deployment.model.impl.BucketLockHandleImpl@70e570e5 (stateId: [UUID _4YcX8GQX EeSeoaOdcVHt2Q], itemId: [UUID _4YRY0GQXEeSeoaOdcVHt2Q], origin: null, immutable: <unset>)';uuid=_Nzlq62QYEeSeoaOdcVHt2Q;futureValue=FVReference[key= com.ibm.rqm.deployment.model.impl.BucketLockHandleImpl@70e570e5 (stateId: [UUID _4YcX8GQXEeSeoaOdcVHt2Q], itemId: [UUID _4YRY0GQXEeSeoaOdcVHt2Q], ori gin: null, immutable: <unset>);mayHaveAFuture=true;isEnqueued=false;ref=com.ibm.rqm.deployment.model.impl.BucketLockImpl@6ff66ff6 (stateId: [UUID _4Y cX8GQXEeSeoaOdcVHt2Q], itemId: [UUID _4YRY0GQXEeSeoaOdcVHt2Q], origin: <unset>, immutable: true) (contextId: [UUID _8lNyYNwSEd2pIJ5QVwgQGg], modified : 2014-11-04 13:44:07.896, workingCopy: false) (predecessor: <unset>) (artifact: executionresult, bucket: 8)];extraInfo=412;head->null]
Comments
1 vote
Comments
Donald Nong
Oct 28 '14, 7:54 p.m.Liora Milbaum
Oct 28 '14, 10:05 p.m.Donald Nong
Oct 28 '14, 11:07 p.m.