Setting TrueLog Traffic-Capturing Options

  1. In Silk Performer, expand the Profiles node in the Project tree.
  2. Right-click the profile that you want to configure and choose Edit Profile.
    Tip: Alternatively, you can choose Settings > Active Profile from the menu bar.

    The Profile - [<profile name>] dialog box opens, and the Replay category is displayed in the shortcut list on the left.

  3. In the shortcut list, click the Results icon.
  4. Click the TrueLog tab.
  5. To enable generation of TrueLog files (.xlg) during recording, check the TrueLog files (.record.xlg) check box. TrueLog files contain all traffic that is sent to and received from the server, and the transactions and function calls that are to be generated in the test script.
    Note: TrueLog files should only be created for debugging purposes.
  6. Check the TrueLog files (.xlg) check box to generate a TrueLog file (.xlg) for each virtual user. These files contain all the function calls that are invoked by the transactions of a specific virtual user.
  7. To enable generation of TrueLog On Error files (.xlg), check the TrueLog On Error files (.xlg) check box.
    Note: Truelog On Error files can be turned on for even large tests where you expect a moderate number of errors without major impact on replay performance.
  8. Specify how much information is to be stored in the TrueLog using the Store TrueLog options. The options in the TrueLog On Error area of the dialog box are only available when TrueLog On Error file generation has been enabled above.
    • Click the For one transaction option button to log the entire transaction in which each error occurs. This option requires a significant amount of memory.
    • Click the Based on content history option button to log a minimum of relevant data (based on data kept in the history) to the TrueLog. If low-level web calls are used, this setting will have no impact on the size of stored data. This selection requires minimal memory.
  9. From the Generate TrueLog On Error for list box, select the severity level at which TrueLogs are to be generated (Errors, Severe errors, or Warnings). The default severity level is Errors.
  10. Click the Log all embedded objects option button to log all embedded objects (images, java files, etc) in the TrueLog. Logged objects appear in the cached documents section of the TrueLog.
  11. Click the Exclude cached embedded objects option button to only log embedded objects (images, java files, etc) that have been downloaded within the scope of the current log in the TrueLog. Objects may not be logged if they appear in the current log as a cache hit. Such objects may have been downloaded outside the scope of the current log. They may also no longer be present in the cache.
  12. Click the Exclude all embedded objects option button to exclude all embedded objects (images, java files, etc) from being logged in the TrueLog.
    Note: Optimal scalability is achieved by selecting this option.
  13. Click OK to save your settings.