Run the demo integrity tests with Java

Run an integrity test on the gwc-demo applications from scenarios generated from a log file as described in this task.

Before you begin:
About this task: The integrity test on the gwc-demo application can be run on all three available protocols or using the direct connection mode.
  1. To run the test simulation for Genero Web Client for JavaScript (GWC-JS) clients, type the commands shown below:
    java com.fourjs.ggc.Launcher -u http://localhost:6394/ua/r/gwc-demo -s path.to.generate.StartMenuSessionManager
    java com.fourjs.ggc.Launcher -u http://localhost:6394/ua/r/gwc-demo -s path.to.generate.DemoPanelSessionManager
  2. To run the test simulation for GWC-HTML5 clients, type the commands shown below:
    java com.fourjs.ggc.Launcher -u http://localhost:6394/wa/r/gwc-demo -s path.to.generate.StartMenuSessionManager
    java com.fourjs.ggc.Launcher -u http://localhost:6394/wa/r/gwc-demo -s path.to.generate.DemoPanelSessionManager
  3. To run the test simulation for GDC clients, type the commands shown below:
    java com.fourjs.ggc.Launcher -u http://localhost:6394/ja/r/gwc-demo -s path.to.generate.StartMenuSessionManager
    java com.fourjs.ggc.Launcher -u http://localhost:6394/ja/r/gwc-demo -s path.to.generate.DemoPanelSessionManager
  4. To run the tests using a stand-alone DVM, type the commands:
    cd FGLDIR\demo ; java com.fourjs.ggc.Launcher -s path.to.generate.StartMenuSessionManager  --command "fglrun demo"
    cd FGLDIR\demo ; java com.fourjs.ggc.Launcher -s path.to.generate.DemoPanelSessionManager --command "fglrun demo"
    Important:

    It is assume that the all the Java session and scenario class files; StartMenuSessionManager.class and DemoPanelSessionManager.class, etc, have been placed in the same directory as the tested application, FGLDIR/demo.

    As file names must be fully qualified, for example path.to.generate.DemoPanelSessionManager, files must be located in the corresponding path, path/to/generate, from where the DVM command is run.