QuickTest Professional license error – during batch-mode execution
Question ID: 104252
2
0

The remote users have no problem launching QTP and authenticating to the license server. However, when they kick-off a batch of scripts on any of the execution machines and they run for a while, randomly an error will appear.

"License Error:
There is no QuickTest Professional license server available on the network, or the license server is already being used by the maximum number of users."

If the remote uses click Retry, the error goes away, but it requires manual intervention while they are trying to run the batch of scripts unattended. Is there some timeout setting perhaps? What might cause the machine to try to re-authenticate while it is running?

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on October 14, 2010 6:25 pm
33 views
Answers (1)
2
Private answer

Recommend checking your network connections between license server and the remote machines with PathPing. PathPing is a core windows tool that most people do not know about but will show issues with hops in your network. For more information on PathPing see this site.
After check the network for issue I would recommend adjusting the TimeoutInterval and/or BroadcastInterval registry keys.

TimeoutInterval - Sets the time-out interval for all direct application/License Server communication to the given number of seconds. When a licensed application sends a request to a License Server and the License Server does not respond, it resends the message a few times. Each time, the length of the time-out interval is slightly longer than the previous. The given value sets the total length of a set of attempts to be that number of seconds. The default value is 10 seconds. Note that these time-outs are different from the broadcast time-outs.

BroadcastInterval - If a licensed application performs a broadcast to establish the presence of a License Server on the subnet, it makes two broadcast attempts, where the length of the second broadcast attempt is slightly longer than the first. The given value sets the total length of both attempts to be that number of seconds. The default value is 10 seconds.

  1. Start RegEdit.
  2. Go to HKEY_CURRENT_USERSoftwareMercury InteractiveLicense ManagerConfiguration.
  3. Create new TimeoutInterval value. Edit -> New -> String Value and create TimeoutInterval entry with a value in seconds.
  4. Create new BroadcastInterval value. Edit -> New -> String Value and create BroadcastInterval entry with a value in seconds.
  5. Close RegEdit, and try launching QuickTest Professional.
Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on October 14, 2010 6:48 pm
EyeOnTesting

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

X
Scroll to Top