When using Test Invoke API the User Count in the Portal increases and does not decrease when the API calls are ended.
DevTest on releases 10.3 and 10.4.
For every API call that is performed, we get one additional count in the User Count under Server Health in the Portal. Increasing this number is expected.
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 we run a command using the test invoke API it adds connection to the Registry.
Connection can be treated as a login to the Registry. Total number of such logins to Registry is what the user count is. This count is maintained in a cache unless the Registry is restarted.
By default, the user count starts decreasing after 20 minutes, 1200 seconds, the calls are completed.
If this is not the case, the following properties need to be verified:
More information regarding these properties can be found in the link below: