• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in POST request using HTTPClient

 
Shubham Guptas
Greenhorn
Posts: 9
  • 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
  • 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
  • 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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic