Load Testing: Capturing Traffic

Click the Capture button to start the process of capturing the HTTP traffic exchanged between a browser and the web server. Before making a selection, you should close all browser instances as well as any other applications that may generate HTTP traffic, so that the recording of your traffic capture is not polluted with undesired HTTP traffic.

 

To record new load traffic, click the 'Capture' button on the left. 

 

You can choose to capture either:

  • The traffic that flows by running an existing Test Studio Web Test by clicking Capture from existing Web Test.
  • The traffic that flows by launching a browser and you manually interacting with that browser by clicking Capture New.

 

You can capture traffic from an existing test or a new one.
 

After selecting which type of traffic to capture you can select which browser to launch for capturing the traffic. Test Studio will automatically detect which browsers are installed on your machine and will only enable the buttons for those browsers. Once you click one of the browser buttons, that browser launches. If you selected Capture New, a blank page opens ready for you to interact with it. If you selected Capture from existing Web Test, the browser will open and start executing the Test Studio Web Test while recording all the HTTP traffic that flows between the browser and the web server.

 

You can select which browser to launch for capturing traffic.

 

If you selected Capture New, when you're done recording your HTTP traffic:

  1. Close the browser.
  2. Click Done.
  3. Please wait and be patient. It can take a long time (e.g. more than a couple of minutes) for Test Studio to scan all the recorded traffic looking for Dynamic Targets.