To test the HTTP proxy servlet, use an existing web services client application or write your own
SSL test client application by using Java™.
Before you test the HTTP proxy servlet, you must have completed the following tasks:
To test the HTTP proxy servlet, complete the following steps:
- Install a client application that can send HTTP or SSL
(HTTPS) requests. For example,:
- OpenSSL: An open source tool available from the Internet at:
OpenSSL downloads website that can be used to send SSL
(HTTPS) requests to the servlet container.
- A broker message flow that has an HTTPRequest or
SOAPRequest node that can
generate and send HTTP requests to an HTTP listener.
- A web browser by using web pages or Java Server
Pages (JSP) that can send HTTP POST requests. Most web browsers support
HTTP and HTTPS.
- A client application that sends requests by using HTTP, HTTPS, or both HTTP and
HTTPS.
- Configure a message flow with HTTP and SOAP input and reply nodes. The HTTPInput and SOAPInput nodes must be configured with a
URL that matches the context root of the HTTP proxy servlet; see Importance of the context root when you configure the HTTP proxy servlet. The message flow receives the messages from the HTTP proxy servlet. If an HTTP
or SOAP reply node is configured, responses are sent back to the HTTP proxy
servlet.
Results:You have tested the HTTP proxy servlet.