QTP license server connection timeout (476 Views)
Reply
Contributor
looe
Posts: 19
Registered: ‎05-09-2012
Message 1 of 3 (476 Views)

QTP license server connection timeout

Hi,

 

I am running 10 QTPs using the concurrent license mode.

 

Is there any where that i can configure a user timeout so that any inactive QTP connection will be automatically disconnected from the license server , freeing up the licenses for others?

 

 

Pls advise.

 

 

Thanks

 

Honored Contributor
Trudy Claspill
Posts: 3,779
Registered: ‎09-09-2010
Message 2 of 3 (463 Views)

Re: QTP license server connection timeout

No.

I asked the same question of HP support. They explained that an instance of QTP will keep renewing its license from the Concurrent License Server as long as QTP is running, regardless of whether it is actively being used.

It looks like the license keys themselves can be configured (when you request the license from HP) with a lifetime value, but this actually has no effect. The QTP app itself is designed to keep renewing its concurrent user license forever.
[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]

(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
Frequent Advisor
tomers
Posts: 29
Registered: ‎09-02-2008
Message 3 of 3 (453 Views)

Re: QTP license server connection timeout

Hi,

 

You can create a QTP launcher, and ask anyone to start QTP using it.

This launcher can monitor QTP process (QTPro.exe) for memory and CPU (E.g. get values every 2 sec), and after pre-defined timeout that there was no change in memory, it is clearly that this instance is idle, and can be "killed".

 

To be more polite, it is recommended to use QTP com object and save current work before killing QTP process, or at least pop-up a big message box that QTP is about to be killed in about 5 minutes.

 

Good luck,

Tomer.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.