Server Reference Guide : F. Contents of the 62demo Application Directories : Httptest Application
 
Share this page                  
Httptest Application
You can use this application to connect to the Loadnrun application to verify that it can be accessed through the OpenROAD Gatekeeper. This application supports the following appflag parameters:
II_COMTEST_IMGFILE={image file | NULL}
II_COMTEST_CMDFLAGS={command flags | NULL}
II_COMTEST_LOCATION={location | NULL}
II_COMTEST_ROUTING={routing | NULL}
II_COMTEST_PROCNAME={procname | NULL}
II_COMTEST_HELLOSTRING={hellostring | NULL}
II_COMTEST_COUNTER={counter}
This application supports the following environment variables:
II_COMTEST_IMGFILE={image file | NULL}
II_COMTEST_CMDFLAGS={command flags | NULL}
II_COMTEST_LOCATION={location | NULL}
II_COMTEST_ROUTING={routing | NULL}
II_COMTEST_PROCNAME={procname | NULL}
II_COMTEST_HELLOSTRING={hellostring | NULL}
II_COMTEST_COUNTER={counter}
These are analogs to the appflags that were added.
Disable the PrivateOrShared toggle when the Initiate request is processed. Re-enable it when the Release request is processed.
Disable the Call4GL and Release buttons when application starts up.
Disable the Initiate button after the Initiate request is processed.
Enable the Call4GL and Release buttons after the Initiate request is processed.
Enable the Initiate button after the Release request is processed.
Disable the Call4GL and Release buttons after the initiate request is processed.
Forcing the use of Loadnrun Client 6.2 runtime
The following directive forces the use of the Loadnrun 6.2 Client runtime if the application is launched by the Loadnrun60.bat or Loadnrun51.bat script.
ENVIRONMENT=PATH=%II_ECLIENT_APPDIR%bin;%II_LOADNRUN62_ROOT%\bin;%PATH%
Contents of the subdirectory
httptest.img
install4gl.txt
Contents of httptest\install4gl.txt
//
//  The following control statements must not start on line 1.
//
4GLVERSION =6,20,14001,0
IMAGEFILE  =httptest.img
CMDFLAGS   =-Tyes
//
//  The following environment variables are set by the run.bat that is generated
//  by Loadnrun when an application is downloaded from the server
//
//    Environment Variable       Value
//    --------------------       -----
//    II_ECLIENT_ROOT            %APPDATA%\Actian\eclientcache\[HOSTSYSTEM]\[HOSTSUFFIX]\
//    LOADNRUN_CLIENT_ROOT       %II_LOADNRUN51_ROOT%\  (if launched using LOADNRUN51.bat)
//    LOADNRUN_CLIENT_ROOT       %II_LOADNRUN60_ROOT%\  (if launched using LOADNRUN60.bat)
//    LOADNRUN_CLIENT_ROOT       %II_LOADNRUN62_ROOT%\  (if launched using LOADNRUN62.bat)
//    II_ECLIENT_RUNMODE         2
//    II_ECLIENT_URL             [HOSTSYSTEMURL]
//    II_ECLIENT_VERSION
//    II_ECLIENT_4GLVERSION      [INSTALL4GLVERSION]
//    II_ECLIENT_SUFFIX          [HOSTSUFFIX]
//    II_ECLIENT_APPDIR          %II_ECLIENT_ROOT%[APPNAME]
//    II_ECLIENT_LIBDIR          %II_ECLIENT_ROOT%lib
//    II_W4GLAPPS_SYS            %II_ECLIENT_ROOT%lib
//    II_W4GLAPPS_DIR            %II_ECLIENT_ROOT%[APPNAME]
//    II_LOG                     %II_ECLIENT_ROOT%[APPNAME]
//    II_ECLIENT_SYSTEM          %windir%\syswow64     (on 64-bit systems)
//    II_ECLIENT_SYSTEM          %windir%\system32     (on 32-bit systems)
//    PATH                       %II_ECLIENT_ROOT%qt;%LOADNRUN_CLIENT_ROOT%bin;%PATH%
//    II_LOADNRUN                TRUE
//
//  where the following are defined
//
//    String Name                String Value Description
//    -----------                ------------------------
//    [HOSTSYSTEMURL]            This is the URL that is passed when Loadnrun is invoked on
//                               the Client
//    [HOSTSYSTEM]               This is the system name that is hosting the [HOSTSYSTEMURL]
//    [HOSTSUFFIX]               This is the suffix that is passed when Loadnrun is invoked
//                               on the client
//    [INSTALL4GLVERSION]        This is the value of the 4GLVERSION directive located in
//                               the install4gl.txt
//    [APPNAME]                  This is the application name passed when Loadnrun is invoked
//                               on the Client
//
//  An example of the command that will be invoked is as follows
//
//    loadnrun62.bat [APPNAME] [HOSTSYSTEMURL] [HOSTSUFFIX]
//
//  The following ENVIRONMENT directives will be used to append SET statements in
//  the run.bat that will be generated by Loadnrun. These can override any environment
//  variables generated in run.bat prior to the launch of the application.
//
//  Force the use of the Loadnrun 6.2 client runtime for rrun.bat
//
ENVIRONMENT=PATH=%II_ECLIENT_APPDIR%bin;%II_LOADNRUN62_ROOT%\bin;%PATH%
//
//  Environment for Application
//
ENVIRONMENT=II_COMTEST_IMGFILE=loadnrun
ENVIRONMENT=II_COMTEST_LOCATION=%II_ECLIENT_URL%
ENVIRONMENT=II_COMTEST_HELLOSTRING=HTTP Test Loadnrun!