File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in POST request using HTTPClient

 
Shubham Guptas
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote load test application for java web application running on tomcat server.

I am using HTTPClient for sending XML request. The code I am using is as follows:



The above code is thread body and I am running 200 threads. but for some requests I am getting following exception



Any help would be appreciated. Thanks
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the trace I observe that, sometimes your application gets connection timed out.
 
Shubham Guptas
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Madhan Sundararajan Devaki wrote:From the trace I observe that, sometimes your application gets connection timed out.


so silly of me....Thanks....I increased connection time out and it worked....
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic