ALM Rest API not clearing sessions
Question ID: 109461
2
0

We are using an in house application which connects to ALM using REST API calls. We have the following questions regarding this.
1. How to clear the connections through REST API call while configuring the REST API connection on a talend job?
2. This application was making REST API calls to ALM for the past 4 months. Since yesterday we are facing extreme QC slowness. When we cleared these repeated REST API connections the performance was better. We would like to know why suddenly this is having an impact on ALM performance.

Marked as spam
Posted by (Questions: 100, Answers: 4)
Asked on April 22, 2020 8:46 pm
186 views
Answers (1)
2
Private answer

To clear the connections in the rest API you will need to do a "DELETE" on the site-session:

DELETE /qcbin/rest/site-session
Cookie: LWSSO_COOKIE_KEY={cookie}; Path=/
Cookie: SiteSession={cookie]; Path=/

You can find this in the REST API reference guide under "How to do common tasks" then further under the "session management" heading:

As for why it was just causing a problem now it is hard to say, my recommendation would be to add the site parameter REST_SESSION_MAX_IDLE_TIME as mentioned in the above page, the default is 60 minutes but if you are having issues with idle sessions making ALM slow you may want to lower the number to like 15 or 20 minutes.....

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on April 22, 2020 8:48 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top