Defining Hosts

The host containing the application you want to test.

See also Host Configuration Parameters in the Natural Screen Tester Reference Guide.


Defining a New Host

A new host may be defined either in the process of creating a new test project (refer to Creating a Test Project) or simply as an additional host in the host node.

Start of instruction setTo create a new host

  1. In the Natural Screen Tester Explorer, right-click on the Host node and choose New Host. The New Host wizard is displayed.

    graphics/hosts_new.png

  2. Enter a name for the host and select a host type. Click Next.

  3. Set the connection and conversion parameters, which may differ according to the host type. Click Finish. Refer to Host Configuration Parameters in the Natural Screen Tester Reference Guide for further details.

To delete a host, in the Natural Screen Tester Explorer, right-click on the relevant host and choose Delete Host. Confirm this action.

To edit the current host configuration, in the Natural Screen Tester Explorer, right-click on the relevant host and choose Properties. The Host Properties' are displayed.

Defining an RPC Host (AS/400 Hosts only)

After defining an AS/400 host, open the host's properties (right-click on the host in the Natural Screen Tester Explorer and choose Properties), and in the RPC tab configure the parameters.

UNIX Hosts Based on Natural Applications

Standard UNIX protocols lack information required for extensive integration into modern environments. Natural-UNIX, a proprietary protocol of Software AG, provides you with this additional information, and it is therefore recommended to be used with all Natural applications that run on UNIX machines.

Refer to Natural-UNIX Installation for installation details.

Start of instruction setTo configure a Natural-UNIX host

  1. Create and access the Host dialog box as detailed in Adding a Host Definition.

  2. Configure the new host: enter a name, IP address (IPv4 and IPv6 address formats are supported), port and service (optional - limited to 24 characters). In the Device type field, choose "Natural-Unix". Select "Natural-APX" (or "Natural-NSW" for Natural versions prior to Natural version 6.2.5 and 6.3.2 ). Configure the relevant parameters.

There are applications which require entering a user name and password. Click on the Security tab. Enter the default User name and Password (both fields are limited to 24 characters). You can override these settings, either when connecting to a session (in the Connection Properties dialog box, Host user name and Host password fields).

Note:
The Test Case Properties > Windows tab will be disabled, as window's definitions are included in the Natural-UNIX protocol and do not require being defined via Natural Screen Tester.

SSH

What is SSH?

Secure Shell (SSH), sometimes known as Secure Socket Shell, is a command interface and protocol for securely getting access to a remote computer. It is widely used by network administrators to control Web and other kinds of servers remotely. SSH commands are encrypted and secure in several ways: both ends of the client/server connection are authenticated using a digital certificate, and passwords are protected by being encrypted. SSH uses RSA public key cryptography for both connection and authentication.

Natural Screen Tester supports the SSH Password authentication method. This means the user needs to enter his/her SSH user ID and SSH password in order to establish an SSH connection. This should be done when connecting through the display session configuration or connection pool.

Uppercase Input

There are fields or screens that their input, whether uppercase or lowercase, is automatically uppercased by the host after receiving it from the user. Therefore, these screens should be configured in Natural Screen Tester to have their input fields contents uppercased before being sent to the host, otherwise Natural Screen Tester Server will not handle them correctly.

There are two options for doing this:

  1. You can add some code for uppercasing the relevant fields before sending them to Natural Screen Tester Server.

  2. In the Host Configuration dialog box, check the check box Uppercase input. This will convert to uppercase all fields sent to the host. This configuration may be overridden for specific screens using the test project parameter described in the previous section.

Configuring the SSL Connection

SSL connection is used to ensure a secure connection between the Natural Screen Tester server and the remote host. Connecting using SSL V3 enables encrypting all the traffic between the server and the host and requires the server to present proof of identity (server authentication).

Note:
This can be used in any block mode host, however this has only been tested on a 3270 Mainframe host.

Start of instruction setTo define the SSL connection

  1. In Natural Screen Tester, enable the SSL Connection option for the specific host (access the Host Properties dialog box of the relevant host, and in the Security tab check the Use SSL connection to host check box).

    graphics/hosts_ssl.png

  2. Add a valid X509 certificate to connect to the SSL enabled host.

Refer to SSL Cipher Suites Supported by Natural Screen Tester.

Defining Host Parameters Required when working with RPC

In the Host Properties dialog box, set the RPC parameters. Refer to RPC Parameters for details.