Host simulation wizard

To start the host simulation wizard take any of the following steps:
  • From the menu bar select File > New > HATS Host Simulation.
  • From the menu bar select HATS > New > Host Simulation.
  • From the toolbar click the Create a HATS Host Simulation file item.
  • Right-click a HATS project and select New HATS > Host Simulation.
  • Right-click a HATS EJB project and select New Host Simulation.
The first page of the wizard is the Create a Host Simulation Trace page, which contains the following fields:
Project
Use this field to specify the target project for the host simulation trace file.
Name
Use this field to supply a name for the host simulation trace file. The default name is ProjectNameTrace_num. WhereProjectName is the name of the target project, and num is a number appended if the base file name already exists.
Location
This field displays the destination location for the host simulation trace file. It cannot be modified.
Description
Use this field to add any optional description you want.

The second page of the wizard is the Choose Connection page. Use this page to select which connection within the project to use for recording the trace file. The project's default connection is the default for recording.

After clicking Finish in the wizard, the host simulation recorder finds an unused port from the HATS Host Simulation preferences TCP/IP port range settings to use and sets itself up as a proxy between the real host and the HATS host terminal. See Using HATS preferences for more information. Next the host terminal is displayed.

Using the host terminal, interact with the host system to record the scenario for this trace file. You can use the Stop Host Simulation Recording toolbar icon to stop recording and the Restart Host Simulation Recording toolbar icon to restart recording.

When you stop recording you are given the options to save the trace file and whether to close the host terminal window. Saved trace files appear in the HATS Projects view under the target project in a folder named Host Simulations.