Manage HTTP information in the Protocol Data view


+

Search Tips   |   Advanced Search

 

Overview

Several actions can be performed on the text displayed in the Protocol Data view. You can save the text from the Protocol Data view pages to a text file for use in other applications. You can search for text in the protocol data. You can compare the data retrieved during a run with the recorded data from an HTTP test.

Typically, you compare a request or response from the test log to its corresponding data in the recorded test.

You can also compare requests or responses from different virtual users in one test log.


Export HTTP data from the Protocol Data view to a text file

  1. In the Test Navigator, right-click the results to export, and click Display Test Log.

    The results have the same name as the test or schedule with a timestamp appended.

  2. In the editing area, click the Protocol Data tab to open the view.

  3. Click the button that corresponds to the data to export:

    • Request
    • Request Headers
    • Response Content

    You cannot export data from the Browser page.

  4. To export only a portion of the text, select the text, and click the appropriate option from the menu:

  5. Select one of the following options from the toolbar:

    Option Description

    Save to protocol data

    Saves the entire text on the page to a text file within or outside of workspace.

    Copy to clipboard

    Copies the entire text on the page to the clipboard.

    Compare to clipboard

    Compares the entire text on the page to the contents of the clipboard. To compare the playback data with the recorded data, view the protocol data in the test log and select Copy to clipboard. Then, use the element link in the details section of the test log to navigate directly to the associated recorded element, and select Compare to clipboard.

    Find

    Searches the data in that test log page. You cannot replace data in the test log.

    The text is saved in the default (locale-specific) encoding set on computer.

    Keep this default locale setting unless text contains non-Latin characters.

  6. Optional: Click the menu on the toolbar

    Save the file in Unicode.


Related

  1. HTTP debugging overview
  2. Watch a virtual user during a test run
  3. Watch a virtual user during a schedule run
  4. Replay a virtual user after a run completes
  5. View the playback summary of a virtual user
  6. Inspect HTTP test logs in the Protocol Data view
  7. View test logs
  8. View a test in the Protocol Data view