Run the script in standalone mode from the Vuser script folder, using the run_db_vuser shell script:
run_db_vuser.sh <commands> script_name.usr
The run_db_vuser shell script has the following command line options:
Command
|
Description
|
--help
|
Display the available options. (This option must be preceded by two dashes.)
|
-cpp_only
|
Run cpp only (pre-processing) on the script.
|
-cci_only
|
Run cci only (pre-compiling) on the script to create a file with a .ci extension. You can run cci only after a successful cpp.
|
-driver driver_path
|
Use a specific external driver. Each database has its own driver located in the /bin folder.
|
-exec_only
|
Execute the Vuser .ci file. This option is available only when a valid .ci file exists.
|
-ci ci_file_name
|
Execute a specific .ci file.
|
-out output_path
|
Place the results in a specific folder.
|
By default, run_db_vuser.sh runs cpp, cci, and execute in verbose mode. It uses the driver in the VuGen installation\bin folder, and saves the results to an output file in the Vuser script folder. You must always specify a .usr file. If you are not in the script folder, specify the full path of the .usr file.
For example, the following command line executes a Vuser script called test1, and places the output file in a folder called results1. The results folder must be an existing folder—it is not created automatically:
run_db_vuser.sh -driver mdrv -out /u/joe/results1 test1.usr