DevTest Portal Showing High User Counts

Document ID : KB000113344
Last Modified Date : 14/09/2018
Show Technical Document Details
Question:
Executing jobs through Jenkins. 

16 concurrent suites and then the test invoke to get suite/test execution results max of 5 right now. 

Tried 16 but were getting 500 Errors

How are the Current User Count calculated?
Answer:
In this example, the User Count that is being showed on the Portal reflects 8 days of processing. There is a column named Total Up Time and it is showing 8 days. 

The Current User Count is calculated on the Server Health page from the Portal under Server Info. (see attached)

This count includes all connections to the current registry which includes connections from Workstation ,Portal, Swagger UI, test-invoke API ,Run-time users, etc. 

So, whenever a test suite is run through the test invoke API it adds a connection to the  Registry 

The Registry has been running for 8 days and the Current User Count is 1109 which means that are 1109 connections were made to the Registry in the last 8 days . 

This count is maintained in a cache unless the Registry is restarted. 

The column test-invoke on the Usage Audit report, is showing for a reporting period from April 4, 2018 through August 20, 2018. This count gets incremented for each time the test is run whether it fails or passes. So 89205 value can be expected if the tests are run allot and this report is for a period of over 4 months
File Attachments:
Portal_User_Count.bmp