• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
File size: 905 Kbytes
 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic