Multiple choice technology performance

We can have a script with only vuser_init and vuser_end.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In LoadRunner, both vuser_init and vuser_end are optional sections. A valid script can contain only these two sections without the Actions section, as they serve as setup and cleanup blocks.

AI explanation

In LoadRunner-style performance-testing scripts, a Vuser script is structured into three sections: vuser_init (one-time setup, e.g. login), one or more Action sections (the iterative business-process logic), and vuser_end (one-time cleanup, e.g. logout). Since vuser_init and vuser_end are meant for connect/disconnect logic that should run once regardless of iteration count, a script can legitimately be built using only those two sections — with no real transactional load in the Action body — for example a pure connect/disconnect test. Hence 'True' is correct: it's valid to have a script consisting solely of vuser_init and vuser_end.