Cannot run different scripts from the same .ltz file
If you run an .ltz file that includes more than one script, only the first script runs. You cannot choose which script to run.
Workaround
- Do one of the following:
- Separate the multi-script .ltz into single-script projects.
Make additional copies of the project and change the <ScriptList> section of the .ltp file in each project to list a different script in the top position. The first script in the list is the one that will be executed.
Original
Modified
<ScriptList>
<Script name="UrlCheck1.bdf">
<Usergroup name="VirtUser">
<Users>0</Users>
</Usergroup>
</Script>
<Script name="UrlCheck2.bdf">
<Usergroup name="VirtUser">
<Users>0</Users>
</Usergroup>
</Script>
...<ScriptList>
<Script name="UrlCheck2.bdf">
<Usergroup name="VirtUser">
<Users>0</Users>
</Usergroup>
</Script>
<Script name="UrlCheck1.bdf">
<Usergroup name="VirtUser">
<Users>0</Users>
</Usergroup>
</Script>
...
- In the TrueSight console, upload the new script (.ltz) files.
- Create new Execution Plans that use the new script files.
Related topics