Testing the HTTP proxy servlet
Test the HTTP proxy servlet with an integration node that receives HTTP requests and passes them to a message flow.
Before you begin
To test the HTTP proxy servlet, use an existing web services client application or write your own SSL test client application by using Java™.
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 HTTPS requests to the servlet container.
- An integration node 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 HHTP 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.
You have tested the HTTP proxy servlet.