How to set session in REST API against RQM
![]()
I would like to create an automation script which needs to access RQM and retrieve some info.
I would like to access RQM using REST API.
The problem is that all the articles I found (i.e. modify test in RQM using REST)
indicates that I need to provide session-id as part of the request, but in order to provide session-id I need to manually login first, and that kind of killing of the automation process.
Is there anyway to create the REST session in a way which supports automation scripting?
|
2 answers
![]()
Ah, I see where the confusion is. The video you watched was using a Firefox plug-in as the HTTP client. That plug-in operates through the browser, which has some important differences from the way an HTTP client like Apache HTTP operates.
When they say that you need to get that session ID to make this work, they are basically showing you a workaround for an issue that only occurs when you are working with a browser plug-in like the one they used. Furthermore, in my experience, the error they are trying to work around only occurs on POST. I've been able to use GET and PUT without that session ID, even in a browser plug-in.
So, assuming I understand your situation correctly, I think you can ignore the advice about the session ID from that video.
|
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.