Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpHostConnectException when using jmeter to trigger post request to weblogic hosted application

 
Robinson Francis
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some problems when trying to POST Http Requests to Application Hosted on WeblogiC 10gR3 server. My application is a Spring Framework based Middleware Java application. I have already deployed the EAR on my local machine(the Weblogic server is run on my local as well). I am trying to use JMeter to POST http requests to it but whenever I run the test plan, I get the following error:



The JMeter test is also run on my own computer.

Below are the parameters I have filled in the Http Request element configuration:

Server Name or IP: 127.0.0.1 Port Number: 7001 Protocol : HTTP Method : POST Path : /iCareEAI_Sync_App_war/httpMessageReceiver.do

And I have chosen to populate the Post Body tab with the XML that intend to POST.



I hope this could help. Please feel free to ask for more information. I am not sure as to what more to add. I was hoping that through an interactive session I will be able to arrive at a solution that is relevant to my needs. Thank you.!
Filename: HTTP REQUEST.bmp
Description:
File size: 884 Kbytes
[Download HTTP REQUEST.bmp] Download Attachment
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to enable HTTP Tunneling on the WebLogic server. By default, t3 protocol is enabled for external clients.

HTTP tunneling provides a way to simulate a stateful socket connection between WebLogic Server and a Java client when your only option is to use the HTTP protocol. It is generally used to tunnel through an HTTP port in a security firewall. HTTP is a stateless protocol, but WebLogic Server provides tunneling functionality to make the connection appear to be a regular T3Connection. However, you can expect some performance loss in comparison to a normal socket connection.

You can follow the below oracle documentation.

http://docs.oracle.com/cd/E17904_01/web.1111/e13701/web_server.htm#i1059801
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic