Set ServerModule->Options->soAllowSessionRecording = True. This parameter must be set to False once your app is ready for production.
2
Build and run your uniGUI server
Build and run your uniGUI server on the machine where you will record.
3
Set Stress Test Tool URL
In Stress Test Tool set "Url to Web Application" to the URL address of your server.
If your server is running on the same machine, a typical address would be:
http://127.0.0.1:8077/
4
Press the Record button
Press the Record button. This will launch a new browser window which will show the main form of your web application. This action will use your system default web browser.
Session Recoding
5
Interact with the web application
At this stage you can start using the web application by navigating menus, forms, grids, etc. All of your actions will be recorded.
You can continue recording until you think the coverage of menus, forms, grids and functions of your app is enough.
When you are done, terminate your web application.
6
Stop recording in Stress Test Tool
Switch to Stress Test Tool and press the Stop button .
This finishes your recording session and adds it to the list of available records for this project.
7
Save the project
You can save your project using the Save button .
Important: To use a recorded session for the Stress Test Tool, it should be repeatable. In other words, all recorded actions should always produce the same HTML content (for example, pressing Button1 should always open Form1). Some actions may produce unpredictable results — for example, inserting rows into a DBGrid can change pagination or row indices and thus produce different JavaScript/HTML on subsequent runs. Avoid recording actions that modify data in ways that make playback non-deterministic (inserting, deleting, or editing rows that other sessions might also modify).