Forum Discussion

cerulean's avatar
cerulean
New Contributor
12 years ago

"target server failed to respond" only when using HTTPS?

I’m using soapUI (v4.5.2) for load testing of a web services application server (based on Axis2+Tomcat).
By sending request to test one same web service method, using Simple Strategy:

- When the endpoint is set to use HTTPS, it is stable at 50 TPS. But if increase the thread number to a higher value (above 60), the load test will report error of:
“org.apache.http.NoHttpResponseException: The target server failed to respond”
While there is no exception happened on the web services application. The CPU/memory usage is not very high.

- When the endpoint is set to use HTTP, then there is no error at all on the load test results (even works fine at 100 TPS).

So, it seems the bottleneck is not on the application server itself, but about HTTPS? but why? and how to improve?


Thanks a lot!

p.s.
Tomcat https connector configuration:
maxThreads="200" minSpareThreads="80" maxSpareThreads="80"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100"
scheme="https" secure="true" clientAuth="false" sslProtocol="TLS"
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    For HTTPS connections you need to extract an SSL cert and define it in SoapUI in:
    File > Preferences > SSL Settings tab

    Please confirm that you have that set and can access the web service?

    Thanks,
    Michael Giller
    SmartBear Software
  • cerulean's avatar
    cerulean
    New Contributor
    Yes, the access to the web service server is ok.
    Can I trust the number (shown as "cnt") of request send out from soapUI to ws server? So it maybe the ws server side didn't receive the request?


    SmartBear Support wrote:
    For HTTPS connections you need to extract an SSL cert and define it in SoapUI in:
    File > Preferences > SSL Settings tab

    Please confirm that you have that set and can access the web service?

    Thanks,
    Michael Giller
    SmartBear Software