CE Term - HOSTSIM - Trace utility

Version 1

    Verified Product Versions

    Wavelink Naurtech CETerm 5.7

    HOSTSIM - Trace utility

    Host Simulator (attached) is a tool written by IBM to capture and replay communications, or "traces" between a client and a host. It is a Java application that is run on any system (PC or workstation) within your network which has access to the host and can be accessed by the windows CE device or other emulator running CETerm. We refer to this system as the "recorder".

    If you do not have a Java run time environment on your desktop already, you will need to install this. You can download a JRE for your desktop from java.sun.com

    To Record a trace

    • Start a command (CMD) shell and cd (chdir) to the directory where you un-zipped hostsim.
    • Type "hostsim.bat" and press Enter. Java must be on your PATH for this to work. Typically Java is in c:\WINNT\system32, under Windows NT. If using UNIX, look at the hostsim.bat file for the command line and change it to suit your shell.
    • Enter an "Output file name:" to store the traces.
    • Enter the "Telnet server address:" of the host.
    • Enter the Telnet "Port number:" if it is not the standard 23.
    • Press "Start Recording".
    • Immediately press "Logon End" in order to capture all data.
    • Note the "Server is listening on port xxx" port number.



    The following steps are carried out on the windows CE device or other emulator:

    • Configure CETerm or other client to connect to the *recorder* system by name or IP address. Set the port number to the port listed in step 8 above. You can find the IP address of a Windows NT or 2000 system by typing "ipconfig" at a CMD prompt.
    • Connect CETerm to the recorder, which will pass through communications to the host.
    • Run the host application which causes the issue or problem to be studied.
    • Log off of the host.



    On the Host Simulator Interface:

    • Press "Data End".
    • Press "Logoff End".

    The trace capture is complete. You may repeat the capture steps two or more times with different "Output file names" to capture several traces for analysis.