Run an integrity test on the gwc-demo applications from scenarios
generated in Genero BDL from a log file as described in this task.
Before you begin:
- It is assumed you have generated the test files from a recorded log file and compiled them as
detailed in Generate Java test scenarios.
- It is assumed that your new test Genero BDL files are in the directory
path/to/generate:
- If you are using the GAS:
- Make sure your GAS version is at least version 2.50.34 or greater.
- Make sure that the standalone dispatcher httpdispatch see Dispatcher: httpdispatch is started and that you can access the GAS demos welcome
page, http://localhost:6394/demos.html, from your browser.
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.
-
To run the test simulation for Genero Web Client for JavaScript (GWC-JS) clients, type the
commands shown below:
cd path/to/generate ; fglrun StartMenu http://localhost:6394/ua/r/gwc-demo
cd path/to/generate ; fglrun DemoPanel http://localhost:6394/ua/r/gwc-demo
-
To run the test simulation for GWC-HTML5 clients, type the commands shown below:
cd path/to/generate ; fglrun StartMenu http://localhost:6394/wa/r/gwc-demo
cd path/to/generate ; fglrun DemoPanel http://localhost:6394/wa/r/gwc-demo
-
To run the test simulation for GDC clients, type the commands shown below:
cd path/to/generate ; fglrun StartMenu http://localhost:6394/ja/r/gwc-demo
cd path/to/generate ; fglrun DemoPanel http://localhost:6394/ja/r/gwc-demo
-
To run the tests using a stand-alone DVM, type the command:
Important:
It is assume that the BDL scenario files; StartMenu and
DemoPanel, have been placed in the same directory as the tested application, for
example FGLDIR\demo.
cd FGLDIR\demo ; fglrun StartMenu "fglrun demo"
cd FGLDIR\demo ; fglrun DemoPanel "fglrun demo"