How does the AWS AppStream Logon Simulator Work?

As stated earlier, a dedicated eG external agent drives the logon simulation. This agent periodically runs an AWS AppStream Logon Simulator test that emulates the entire process of a user logging into an AWS AppStream cloud and launching an application / desktop. Since the test is what performs the simulation, let's call it the simulator. To perform this simulation, the simulator has to be configured with the following:

  • The URL for connecting to the AWS AppStream Web Client
  • The credentials using which it needs to log into the Amazon AppStream;
  • The applications and/or desktops that it needs to launch
  • The user account with local administrator rights on the simulation endpoint - i.e., on the system hosting the external agent

  • The frequency of the simulation

To know how to configure the simulator with the details listed above, refer to the Configuring the AWS AppStream Logon Simulator to Perform the Simulation topic.

Once the simulator is configured, it runs at the configured frequency. Every time it runs, it simulates the logon process as described below.

  1. The simulator first opens the Chrome and connects to the configured URL that is required to connect to the AWS AppStream Web Client.

  2. It then logs in through the web browser and captures the time taken to login. The success / failure of the login is also determined.

  3. The simulator next waits for the applications/desktops to be enumerated and records the time it took for the enumeration to complete. The success/failure of this step is also ascertained.

  4. The configured application / desktop is then launched and the duration of the launch is recorded. In the process, the simulator also figures out whether/not the launch was successful.

  5.  Finally, the simulator closes the application and logs out of the session. The log out status and duration is also captured.

The simulator then reports the metrics so collected to the eG manager. The manager captures these metrics into a AWS AppStream Logon Simulator component and presents them in the eG monitoring console for analysis. Refer to Analyzing the Simulation Results topic for a detailed discussion on the AWS AppStream Logon Simulator model.