TESTABLE

Specifies whether the test page (Uniface Test Middleware Response ) can be displayed.

<init-param>
<param-name>
TESTABLE </param-name>
<param-value>
TRUE | FALSE </param-value>
</init-param>

Default value if omitted: TRUE

Values

  • TRUE—generates the test page containing version information about the current WRD.
  • FALSE—displays an error page. An activate error -50 is returned, as for any other request for a nonexistent server page.

Description

You can use this setting when configuring the web server (or servlet engine) to run the WRD, to confirm that the web server is able to connect to Uniface.

Once the WRD is confirmed to be running, you can set TESTABLE to FALSE or remove it completely, so that the version information is not accessible.

Example: Using TESTABLE

Set TESTABLE to true.

<init-param>
   <param-name>TESTABLE</param-name>
   <param-value>true</param-value>
</init-param>

After restarting the web server (to pick up the new value of the setting), enter the URL for the test page:

  • If the servlet setting USERUNPREFIX is false:
    http://ServerHost/uniface/wrd/WRD_Version
  • If the servlet setting USERUNPREFIX is true:
    http://ServerHost/uniface/wrd/run/WRD_Version
Uniface Test Middleware Response Page

Web page displayed if middleware is working

Related Topics