Upper Tester

The UpperTester (UT) provides the implementation of a simple client for testing TCP stacks on a Device Under Test (DUT). Implemented on an ECU, the UT offers several functionalities (e.g. opening and closure of communications sockets). The tester triggers these functions by UDP orders, so called ServicePrimitives (SP).

UT Adaption

The UT sources are in simple C89. For the regulation of network functionalities of the stacks to be tested, it uses the BSD socket API, which was published in 1983. This API is implemented in common UNIX systems, (slightly modified) in Windows, and in most TCP/IP stacks for embedded.

Service Primitives

A short list of extensions:

  • GET_VERSION
    Request UpperTester version
  • START_TEST
    This ServicePrimitive is for logging only and does not execute test relevant activities.
  • END_TEST
    This ServicePrimitive is for logging only and does not execute test relevant activities.
  • CLOSE_SOCKET
    Closure of a socket (usually at the end of a test)
  • CREATE_AND_BIND
    Generates a socket and connects it to a local port/IP address, if necessary
  • SEND_DATA
    Initiates the UT to send data to a predetermined address
  • RECEIVE_AND_FORWARD
    Puts the UT in a specific mode to forward incoming telegrams to the test system
  • LISTEN_AND_ACCEPT
    Prepares the UT to accept incoming connection request
  • CONNECT
    Executes the typical TCP handshake
  • SHUTDOWN
    Executes a shut-down with the given socket

Contact

For more information please contact us at info@ruetz-system-solutions.com.

Downloads

We are happy to provide up-to-date product information, press material and articles for download.