If you use packet capture software such as Wireshark to create logs of traffic, VSE can use those logs to create a virtual service image from a packet capture file (PCAP).
Prerequisites:
The native library is different for different operating systems. For Windows, it is jnetpcap.dll.
The PCAP functionality is now configured.
Follow these steps:
Enter a service image name and the name of a virtual service model file.
Accept the default values for the remaining fields on this window.
Note: To load parameters from a previously saved service image, click Load from File at the bottom of the window.
The data protocol window opens.
The Virtual Service from PCAP Transport Protocol Configuration window opens.
Defines the port on which the client communicates to DevTest.
Defines the name or IP address of the target host where the server runs.
Defines the target port number listened to by the server. Leave this field blank if you will select a Proxy passthrough style.
Defaults: 80 (HTTP) and 443 (HTTPS)
Note: Target host and Target port are important. They determine how DevTest matches packets. Select Gateway and enter the IP address and port of the server hosting the service to be virtualized. You could have some network traffic for every computer on the subnet where the capture was performed, depending on how the PCAP capture was done. Given an IP address and port, the data can be filtered from the file for all packets going to or from a specific IP and port. Then those packets are reconstructed to form valid TCP streams, which remove duplicates, and reorders packets in the correct order, and so forth. This work is all done for you by the operating system TCP stack during a real recording. These streams are replayed to the real protocol (HTTP) and as far as the protocol is concerned, the data arrives over a valid TCP stream.
Specifies how VS Image Recorder acts during recording. Select Gateway.
Specifies whether DevTest uses HTTPS to send the request to the server.
If you select Use SSL to server, but you do not select Use SSL to client, DevTest uses an HTTP connection for recording. DevTest then sends those requests to the server using HTTPS.
Specifies whether to use a custom keystore to play back an SSL request from a client. This option is only enabled when Use SSL to server is selected.
Values:
Specifies the name of the keystore file.
Specifies the password associated with the specified keystore file.
Note: For more information about configuring VSE in a two-way SSL environment, see Virtualizing Two-way SSL Connections.
Specifies whether to record duplicate specific transactions.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|