Skip to content

Instantly share code, notes, and snippets.

@krzysdb
Created January 11, 2012 18:32
Show Gist options
  • Save krzysdb/1596055 to your computer and use it in GitHub Desktop.
Save krzysdb/1596055 to your computer and use it in GitHub Desktop.
WebDriverBackedSelenium simple test console output
Closing connections idle longer than 100 MILLISECONDS
Closing connections idle longer than 100 MILLISECONDS
Jan 11, 2012 6:27:40 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [null, newSession {"desiredCapabilities":"Capabilities [{platform=ANY, browserName=firefox, version=}]"}]
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 0, total issued: 0, total allocated: 0 out of 2000
No free connections [HttpRoute[{}->http://127.0.0.1:4444]][null]
Available capacity: 2000 out of 2000 [HttpRoute[{}->http://127.0.0.1:4444]][null]
Creating new connection [HttpRoute[{}->http://127.0.0.1:4444]]
Connecting to 127.0.0.1:4444
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: POST /wd/hub/session HTTP/1.1
>> "POST /wd/hub/session HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
>> "Content-Length: 79[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> POST /wd/hub/session HTTP/1.1
>> Accept: application/json, image/png
>> Content-Type: application/json; charset=utf-8
>> Content-Length: 79
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
>> "{"desiredCapabilities":{"platform":"ANY","browserName":"firefox","version":""}}"
<< "HTTP/1.1 302 Moved Temporarily[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:40 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "Location: http://127.0.0.1:4444/wd/hub/session/1326302027034[\r][\n]"
<< "Content-Length: 0[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 302 Moved Temporarily
<< HTTP/1.1 302 Moved Temporarily
<< Date: Wed, 11 Jan 2012 18:27:40 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
<< Location: http://127.0.0.1:4444/wd/hub/session/1326302027034
<< Content-Length: 0
Connection can be kept alive indefinitely
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: GET /wd/hub/session/1326302027034 HTTP/1.1
>> "GET /wd/hub/session/1326302027034 HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> GET /wd/hub/session/1326302027034 HTTP/1.1
>> Accept: application/json, image/png
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
<< "HTTP/1.1 200 OK[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:44 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "Content-Length: 314[\r][\n]"
<< "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
<< "Cache-Control: no-cache[\r][\n]"
<< "Content-Type: application/json;charset=UTF-8[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 200 OK
<< HTTP/1.1 200 OK
<< Date: Wed, 11 Jan 2012 18:27:44 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
<< Content-Length: 314
<< Expires: Thu, 01 Jan 1970 00:00:00 GMT
<< Cache-Control: no-cache
<< Content-Type: application/json;charset=UTF-8
Connection can be kept alive indefinitely
<< "{"sessionId":"1326302027034","status":0,"value":{"platform":"XP","javascriptEnabled":true,"cssSelectorsEnabled":true,"handlesAlerts":true,"browserName":"firefox","nativeEvents":false,"takesScreenshot":true,"version":"9.0.1"},"class":"org.openqa.selenium.remote.Response","hCode":655613}[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Jan 11, 2012 6:27:44 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326302027034, getCurrentWindowHandle {}]
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: GET /wd/hub/session/1326302027034/window_handle HTTP/1.1
>> "GET /wd/hub/session/1326302027034/window_handle HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> GET /wd/hub/session/1326302027034/window_handle HTTP/1.1
>> Accept: application/json, image/png
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
<< "HTTP/1.1 200 OK[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:44 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "Content-Length: 167[\r][\n]"
<< "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
<< "Cache-Control: no-cache[\r][\n]"
<< "Content-Type: application/json;charset=UTF-8[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 200 OK
<< HTTP/1.1 200 OK
<< Date: Wed, 11 Jan 2012 18:27:44 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
<< Content-Length: 167
<< Expires: Thu, 01 Jan 1970 00:00:00 GMT
<< Cache-Control: no-cache
<< Content-Type: application/json;charset=UTF-8
Connection can be kept alive indefinitely
<< "{"sessionId":"1326302027034","status":0,"value":"{1cc5dcab-dfdf-4965-b657-eadfde3e09cc}","class":"org.openqa.selenium.remote.Response","hCode":31268562}[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Jan 11, 2012 6:27:44 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326302027034, get {"url":"http://www.google.com/"}]
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: POST /wd/hub/session/1326302027034/url HTTP/1.1
>> "POST /wd/hub/session/1326302027034/url HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
>> "Content-Length: 32[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> POST /wd/hub/session/1326302027034/url HTTP/1.1
>> Accept: application/json, image/png
>> Content-Type: application/json; charset=utf-8
>> Content-Length: 32
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
>> "{"url":"http://www.google.com/"}"
<< "HTTP/1.1 204 No Content[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:44 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 204 No Content
<< HTTP/1.1 204 No Content
<< Date: Wed, 11 Jan 2012 18:27:44 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
Connection can be kept alive indefinitely
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Jan 11, 2012 6:27:46 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326302027034, executeScript {"script":"window.focus()","args":[]}]
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: POST /wd/hub/session/1326302027034/execute HTTP/1.1
>> "POST /wd/hub/session/1326302027034/execute HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
>> "Content-Length: 37[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> POST /wd/hub/session/1326302027034/execute HTTP/1.1
>> Accept: application/json, image/png
>> Content-Type: application/json; charset=utf-8
>> Content-Length: 37
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
>> "{"args":[],"script":"window.focus()"}"
<< "HTTP/1.1 200 OK[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:46 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "Content-Length: 126[\r][\n]"
<< "Content-Type: application/json;charset=UTF-8[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 200 OK
<< HTTP/1.1 200 OK
<< Date: Wed, 11 Jan 2012 18:27:46 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
<< Content-Length: 126
<< Content-Type: application/json;charset=UTF-8
Connection can be kept alive indefinitely
<< "{"sessionId":"1326302027034","status":0,"value":null,"class":"org.openqa.selenium.remote.Response","hCode":3522054}[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
Jan 11, 2012 6:27:46 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326302027034, executeScript {"script":"if (window.screen) { window.moveTo(0, 0); window.resizeTo(window.screen.availWidth, window.screen.availHeight);};","args":[]}]
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: POST /wd/hub/session/1326302027034/execute HTTP/1.1
>> "POST /wd/hub/session/1326302027034/execute HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
>> "Content-Length: 136[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> POST /wd/hub/session/1326302027034/execute HTTP/1.1
>> Accept: application/json, image/png
>> Content-Type: application/json; charset=utf-8
>> Content-Length: 136
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
>> "{"args":[],"script":"if (window.screen) { window.moveTo(0, 0); window.resizeTo(window.screen.availWidth, window.screen.availHeight);};"}"
<< "HTTP/1.1 200 OK[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:46 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "Content-Length: 126[\r][\n]"
<< "Content-Type: application/json;charset=UTF-8[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 200 OK
<< HTTP/1.1 200 OK
<< Date: Wed, 11 Jan 2012 18:27:46 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
<< Content-Length: 126
<< Content-Type: application/json;charset=UTF-8
Connection can be kept alive indefinitely
<< "{"sessionId":"1326302027034","status":0,"value":null,"class":"org.openqa.selenium.remote.Response","hCode":8584105}[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Jan 11, 2012 6:27:46 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326302027034, get {"url":"http://www.yahoo.com"}]
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: POST /wd/hub/session/1326302027034/url HTTP/1.1
>> "POST /wd/hub/session/1326302027034/url HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
>> "Content-Length: 30[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> POST /wd/hub/session/1326302027034/url HTTP/1.1
>> Accept: application/json, image/png
>> Content-Type: application/json; charset=utf-8
>> Content-Length: 30
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
>> "{"url":"http://www.yahoo.com"}"
<< "HTTP/1.1 204 No Content[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:27:46 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 204 No Content
<< HTTP/1.1 204 No Content
<< Date: Wed, 11 Jan 2012 18:27:46 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
Connection can be kept alive indefinitely
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Jan 11, 2012 6:28:03 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326302027034, quit {}]
Notifying no-one, there are no waiting threads
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: DELETE /wd/hub/session/1326302027034 HTTP/1.1
>> "DELETE /wd/hub/session/1326302027034 HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Host: 127.0.0.1:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> DELETE /wd/hub/session/1326302027034 HTTP/1.1
>> Accept: application/json, image/png
>> Host: 127.0.0.1:4444
>> Connection: Keep-Alive
<< "HTTP/1.1 204 No Content[\r][\n]"
<< "Date: Wed, 11 Jan 2012 18:28:03 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 204 No Content
<< HTTP/1.1 204 No Content
<< Date: Wed, 11 Jan 2012 18:28:03 GMT
<< Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_29
Connection can be kept alive indefinitely
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://127.0.0.1:4444]][null]
Pooling connection [HttpRoute[{}->http://127.0.0.1:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment