Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Why are unused sockets created during load test?
edited December 2016
It happens several times during the test that the tool connects to the server but never sends anything in the socket.
edited December 2010
During load testing the LoadTest "pings" the server(s) on which it invokes web services by periodically establishing HTTP connections to the service endpoints. The connection establishment time is used as an approximation of the network time that appears in the load test report. If this behavior is not desired, the pinger can be disabled. To do that put the attached script into "startup" directory in SOAtest/LoadTest installation root.
from webtool.site import Pinger
print 'Pinger disabled'
I'd just like to point out that this can also be the cause of the error "javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake" on the
side during Load Test runs. The same solution above may be utilized to correct there errors.
edited June 2012
The script mentioned above is supposed to disable Load Test's pinger which is what makes the dummy HTTP test connections. You can run the script from an Extension tool as a setup test. You can also put the script in the "startup" directory in the SOAtest/LoadTest installation root. The startup folder is actually under:
You can create the "startup" folder in that libs.web/root folder if it isn't there.
Forum Usage Guidelines
Tweets by Parasoft