Highlighted
Regular Contributor.
Regular Contributor.
298 views

(LR) Support Tip: Create a Vuser Script by Analyzing a Captured Traffic File

How to Create a Vuser Script by Analyzing a Captured Traffic File.

This topic describes how to use an existing network traffic file (capture file) to generate a Vuser script. This method may be useful for creating Vuser scripts that emulate activity on mobile applications.

Also when for some reason there is not way to capture a script using Vugen.

  1. Create a new Vuser script in VuGen.Note that this functionality is available only for those Vuser protocols listed in the note at the top of this topic.
  2. Click Start Recording to open the Start Recording dialog box.
  3. From the list of Recording methods, select Captured Traffic File Analysis.
  4. Locate and select your capture file (pcap, cap, saz (Fiddler), or har). For details about creating a new capture file in a Windows, Linux, or mobile environment, see How to Create a PCAP File.
  5. Specify the client side filter. This is the IP address of the client whose traffic you want to use to generate the Vuser script. VuGen typically detects the client side filter by analyzing the capture file.
  6. You can use the recording options to specify server side filters by clicking Recording Options > Mapping and Filtering.
  7. Add a list of the SSL attributes for the servers being analyzed. Use the Add, Edit, and Remove buttons to manage the entries in the list. The Add button opens the Add SSL Attribute dialog box, allowing you to add a server and specify its IP address, port, certificate file, and password if required. The SSL attribute list is visible only after you select a pcap capture file that contains SSL data and requires a certificate. This list is not available for har and saz files — instead, configure the SSL through Fiddler.
  8. Click Start Recording. VuGen analyzes the capture file, and generates a Vuser script.

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

 If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.