WebSphere Host Simulator

WebSphere Host simulator allows you to playback the interaction between the server and the client with out having to be connected to the server.    This tool resides between your Host Publisher Server or Studio and the host system and records TN3270, TN5250 or VT conversations between Host Publisher and the host, saving the conversation as a trace file. The tool is then able to replay the host's side of the conversation, allowing you to generate Integration Objects and run applications without having to have a live host system.  The trace file provided in the samples will allow you to see the steps taken to create the Integration Object in Host Access.

Host Simulator

In order to run this trace file on the Host Simulator you must use the Web Application that was created using Host Publisher Studio.  The Host Simulator does not allow two Integration Objects to run concurrently, so in order to see the Chaining Web Application we must use the Web Application.

Open the Host Simulator application.  Select Playback.  In the Input trace file enter the name of the trace file that you want to use.  In this example, we are using Chaining_Simulation.

From Host Access open the file that the simulation corresponds to.  In this example it is Chaining_Example.hpi.  Click Open.

When the file opens choose Connection Pools.  Then click Connection Configuration and enter the name of your Host Simulator and port number that it is listening from.  The Host Simulator is the name of the machine that your Host Simulator resides on.  The port number that the Host Simulator listens from is 7021.  When you are done click Macros.  There is no need for you to do this for the second Integration Object, Chaining2_Example, because since they are using a connection pool, it will automatically be changed.

Now, you have to restart the connection, so that Host Access will connect to your Host Simulator instead of the University of Minnesota's server.  Select from the pull down menu screen Terminal and then Reset Connection.  Make sure your Host Simulator has started to playback the trace file.

Next you want to save the changes that you made.

Go to Host Publisher Administration and deploy the application again.

After Host Access establishes connection to your simulator, the first page of your Web Application that requests the author's name appears.  You can now go through the Web Application to see how it works.