Test speed ratio

There is an option available to specify the speed the generated test is played.

About this task:

The scenario can play at the pace specified in the generated scenario. There is a default or normal wait delay (defined as 1 or 100%) between each test instruction. By setting a speed ratio option, it allows you to speed up or slow down the pace of the test execution.

In this task, you set --speed-ratio to shorten the time it takes to complete the test.


  1. Navigate to your test directory.
    This example uses a directory named /test_dir.
  2. Type one of the following commands to run the test depending on whether your tests are written in BDL or Java.
    By setting --speed-ratio to 0.1, there is a 10% increase in speed. For an even faster test, set the ratio to 0, which equals no wait delay.
    • BDL:
      fglrun myapp_test.42m tcp --speed-ratio 0.1 -c "fglrun myapp"
    • Java:
      ggcadmin tcp -w path/to/myapp --speed-ratio 0.1 -c "fglrun myapp" --scenario test_dir.myapp_test
The test runs and the results display in the output.
Tip: Another option is to generate the test without wait delay instructions using the --no-wait option. For example:
  • ggcgen bdl --no-wait myapp.guilog

    Instructions such as CALL ggc.wait(...) are then not generated in your BDL scenario.

  • ggcgen java --no-wait myapp.guilog

    Instructions such as client.wait(...) are not generated in your Java scenario.