...
- Click Add.
- Select the appropriate transport type.
Complete the proxy settings as follows:
- HTTP Reverse: See HTTP Reverse Proxy Configuration.
- HTTP Forward: See System Proxy Configuration.
- JMS: See JMS Configuration.
- MQ: See MQ Configuration.
- Internal: See Internal Transport Configuration. Internal proxies can direct traffic to virtual assets or other internal-transport proxies. This can reduce the number of queues when deploying complex virtual assets as well as increase the performance of virtual assets when routing internally.
- In the Traffic file field, specify where you want to save the traffic data that will be captured when the proxy is set to record mode. You can later use this traffic file to generate virtual assets that represent the live traffic captured in record mode. See Transferring Files Between the Remote Server and the Local Machine for an easy way to access the recorded traffic file.
- By default, traffic will be recorded in a file named
%n_%d_%t.txt
(<proxy_name>_<current_date>_<current_time>.txt). It will be stored within the recorded_traffic folder (this will be created if it does not exist). You can modify the file name, but not the folder. The folder is always located within the VirtualAssets project. - When specifying the file name, you can use variables such as
%d
(current date)%t
(current time),%n
(proxy name), and%u
(unique time-based id). Wildcards can be used together and mixed in with the name. For example, you could use%nProxyTraffic%d
or%u_%d%nTraffic.
- Do not configure multiple proxy connections to write to the same traffic file at the same time. This could corrupt the traffic file.
- By default, traffic will be recorded in a file named
- In the Recording Session area, specify how you want traffic data recorded in traffic files:
- Append new session data adds new traffic data to an existing traffic file (the one specified in the Traffic file field). If the specified file does not already exist, a new file will be created. See More on Recording Session Options below for additional details.
- Overwrite session data overwrites the traffic data in an existing traffic file (the one specified in the Traffic file field). If the specified file does not already exist, a new file will be created. See More on Recording Session Options below for additional details.
- New session file for each message pair (HTTP and internal only) creates a separate traffic file for each request/response pair. See More on Recording Session Options below for additional details.
- Click OK.
...
Scroll pdf ignore | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Configuring an HTTP Message Proxy Video TutorialThis video describes how to set up a message proxy that can capture live traffic.
|
More on Recording Session Options
Anchor | ||||
---|---|---|---|---|
|
...