Page tree

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

  1. Do one of the following actions:
    • Separate the multiscript .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.

      OriginalModified
      <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>
      ...
  2. In the TrueSight console, upload the new script (.ltz) files. 
  3. Create new Execution Plans that use the new script files.