Previous Topic: Virtual Conversational/Stateless Response Selector StepNext Topic: Virtual HTTP/S Live Invocation Step


Virtual HTTP/S Listener Step

Use the Virtual HTTP/S Listener step to simulate an HTTP server, including SSL support. The step listens for incoming HTTP requests and converts them to a standard virtual request format.

The default name for the Virtual HTTP/S Listener step is Virtual HTTPS Listener<portnumber>. You can rename the step at any time.

Complete the following fields as described:

Listen port

Enter the port on which DevTest listens for the HTTP/S traffic.

Bind address

Enter the local IP address on which connections can come in. With no bind address specified, the listen step accepts connections on the specified port regardless of the NIC (or the IP address) on which it comes in.

Bind only

To acquire the network resource and move to the next step, select this check box. A second Listen step that does not use the Bind only option is required. This option enables the model to listen on a port (the application queues requests until a listen step consumes them). The model performs setup tasks before dropping into the wait/process/respond loop. For example, Step 1 of the model acquires the listening port (using Bind only) and Step 2 triggers external software that sends requests.

Use SSL to client

Select this check box to simulate a secure HTTP/S website. Then supply the SSL keystore information.

SSL keystore file

Click Select... to browse to your SSL keystore file. The same keystore file must be available to the VSE server to which the VS model is deployed.

Keystore password

Enter the keystore password, then click Verify.

Base path

Identify the HTTP requested resource URIs that the listen step is to process. When the request comes in, the list of queue names is scanned for a name (base path) that starts the URI on the request. The queue name that matches is the one into which the request is placed. The listen step that is associated with the queue (by base path) processes the request.

Format step response as XML

The VSE framework expects Respond steps to accept one of the following:

Note: If this check box is cleared, the step produces a list of response objects. The step produces the list, even if it contains only one response.

Default: The step response is formatted as XML.

If Environment Error

Specifies the action to take or the step to go to if the test fails because of an environment error.

Default: Abort the test.