Unsupported contentThis version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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

  1. 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>
      ...

  2. In the TrueSight console, upload the new script (.ltz) files. 
  3. Create new Execution Plans that use the new script files.

Related topics

Using-scripts-to-simulate-end-user-transactions

Editing an application's synthetic settings

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*