Forum Discussion

sbeauvais's avatar
sbeauvais
Contributor
11 years ago

how to speed up testsuite - remove stale connection check?

Hello,

I am running a testsuite with 400+ REST requests. Altogether, it takes about 5 minutes to run. I need to speed this up!

(I cannot run tests simultaneously as there are db dependencies. I see no evidence of memory issues.)

Looking at the log, it appears that "Stale connection check" takes 0.5 seconds (about half the time of every test). What is this step for, and can be it reduced in time or remove altogether?

Thanks for the help.

Severin B.


...
11:19:23,164 INFO [SoapUIProTestCaseRunner] running step [Property Transfer]
11:19:23,164 INFO [SoapUIProTestCaseRunner] running step [PUT location request]
11:19:23,664 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
11:19:23,680 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
11:19:23,680 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: PUT /pcss-dev/api/locations/14 HTTP/1.1
11:19:23,742 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 204 No Content
11:19:23,742 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive indefinitely
11:19:23,742 INFO [SoapUIProTestCaseRunner] Assertion [HTTP 200, 201, 204] has status VALID
11:19:23,742 INFO [SoapUIProTestCaseRunner] running step [DataSource Loop]
11:19:23,758 INFO [SoapUIProTestCaseRunner] running step [DataGen]
11:19:23,758 INFO [SoapUIProTestCaseRunner] running step [Property Transfer]
11:19:23,758 INFO [SoapUIProTestCaseRunner] running step [PUT location request]
11:19:24,258 DEBUG [HttpClientSupport$SoapUIHttpClient] Stale connection check
11:19:24,274 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
...

17 Replies