REST client connections piling up under site connections

  • Questions
  • REST client connections piling up under site connections
Question ID: 107547
1
0

We have noticed after kicking off automated test runs from test lab for UFT execution, a large number of REST client connections are staying in place under site connections. We are getting several hundred in there during test set execution. I can manually close these but that's not idea solution. Should these roll off on their own? They seem to linger after test set has finished out.

Marked as spam
Posted by (Questions: 104, Answers: 0)
Asked on April 18, 2017 7:33 pm
4 views
Answers (1)
1
Private answer

Hello,

To help correct the lingering REST connections, suggestion is to add to the site parameter list under Site Configuration (within Site Admin console). Add the parameter: **REST_SESSION_MAX_IDLE_TIME**

I would suggest trying it with a value of 30 (minutes) for the idle time and seeing if that generates a proper roll off the REST client connections accordingly. The idle time is the amount of time a REST API session token remains valid if there is no activity in the session. After this period, the session (including the licenses and locks that it holds) expire. On the next call, the REST API recreates a new session.

Marked as spam
Posted by (Questions: 1, Answers: 116)
Answered on April 18, 2017 7:37 pm
Thank you for the parameter. Will get it added and tested out. I will comment back if I don't see the issue correcting.
( at April 18, 2017 7:45 pm)