...
Reverse Proxy | You can choose a Reverse Proxy HTTP Listener that you defined when creating the proxy (see Creating Proxies) from the drop-down menu or use the default listener. You can also add Reverse Proxy HTTP Listeners from this dialog:
|
---|---|
Proxy listen path | Enter the path where the proxy should listen for incoming connections. To listen to all paths, select "[All Paths]" from the drop-down menu. No two message proxies can have HTTP proxy connections with the same proxy path or with a path that matches an existing virtual asset’s HTTP path. See Service Forward Path and Proxy Listen Path for more details. |
Proxy URL | Displays the URL that should be given to the AUT.See Directing AUTs to Proxies for additional information. |
...
Code Block |
---|
X-AUTHORIZATION ANOTHER-HEADER HEADER3 |
Example: Sending Traffic to a Virtual Asset
A proxy can also send traffic to a virtual asset. In that case, enter the host and port information for the Virtualize Server as if were just another service.
...
To send traffic to a virtual asset on a local server, you might use:
- Service host: localhostService port: 9080 [Virtualize]
- Service forward path: /pvapath
The HTTP Reverse proxy makes no distinction between a virtual asset and an actual service. Both are configured the same way. However if the HTTP Reverse proxy is sending to localhost
, you must specify Service forward path because the proxy doesn't allow forwarding to itself.
...