Monitoring User Sessions
TORO Integrate's core and the other Integrate packages' HTTP sessions are all handled by the embedded Tomcat instance. To help monitor your TORO Integrate instance, it provides you with a page that allows you to view the HTTP sessions that are currently active. Using this, it's possible to view all active sessions in TORO Integrate, and it is also possible to terminate them.
Viewing the Active HTTP Sessions
To access the Sessions page, go the the Connections menu and click on User Sessions from its sub-menu.
This will lead you to a page that lists all of the active sessions, along with their key information.
Terminating an Active HTTP Session
To terminate an existing HTTP Session, simply click on the
Kill link on the right hand side of the corresponding
session row that needs to be terminated.
Viewing more information about an Active HTTP Session
In order to reveal more data about an active session, click on its session ID in the table.
A panel should will up on the right side of your screen showing more information about the selected session.
Displayed Session Properties
|Context||Servlet context's context path|
|Remote Host||The last client that sent the request|
|User Agent||The last HTTP request's user agent, extracted from its
|Requests||The total number of HTTP requests executed during the session|
|Last URI Requested||The last URI requested during the session|
|Service Invokes||The total number of HTTP request invocations that are counted as service calls|
|Total Request Time (ms)||The total duration of all HTTP requests|
|Total Service Time (ms)||The total duration of all service calls|
|Longest Request Time (ms)||The duration of the longest-running HTTP request during the lifespan of the session|
|Longest Service Time (ms)||The duration of the longest-running service invoke during the lifespan of the session|
|Average Request Time (ms)||Average duration of HTTP requests during the lifespan of the session|
|Average Service Time (ms)||Average duration of service invokes during the lifespan of the session|
|Requests per minute||The total number of requests per minute during the lifespan of the session|
|Invokes per minute||The total number of service invokes per minute during the lifespan of the session|
TORO Integrate also provides REST endpoints for maintaining user sessions. This API allows you to remotely do things such as:
- Retrieve a list of sessions
- Get statistics for a session
- Terminate a session