Share this page

# Create a script from 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.

Note:

- This task is applicable to the following Vuser types: Web - HTTP/HTML, SAP - Web, and Siebel - Web.
- HAR file entries must include the startedDateTime field.
- In addition to the procedure described below, you can create a Vuser script by right-clicking a captured traffic file (.pcap, .cap, .saz, or .har ) in Windows Explorer, and then selecting Create VuGen script.

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

   Note: 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.

Back to top

See also:

- Create a PCAP file
- Record a script with the Web Recorder
- Start Recording dialog box

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: