how do I use Curl to work with the RQM API?
I want to use Curl as a tool to interact with the RQM/ETM API. How do I do that?
|
One answer
Matthieu Leroux (657●1●6●14)
| answered Apr 17 '20, 5:50 a.m.
JAZZ DEVELOPER edited Apr 18 '20, 4:18 p.m. You need to send a post request to qm/j_security_check with your credentials and save the cookies in a cookie jar:
curl -k --cookie jar.txt --location --request PUT 'https://clm.example.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/MYPROJECTALIAS/testscript/newtestscript20200417112700' --header 'content-type:application/xml' --data '<the xml of your test script here>'
if you saved the xml as a file, use --data @myfile.xml
|
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.