com.thoughtworks.selenium.SeleniumException: Connection refused: > > > connect at > > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > > 111) at > > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > > 90) at > > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > > 719) at > > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > > 27) at > > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > > 41) at > > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > > 1791) at > > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > > 323) at > > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

Google Groups | John | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Connection refused error for WebDriver

    Google Groups | 5 years ago | John
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > > connect at > > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > > 111) at > > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > > 90) at > > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > > 719) at > > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > > 27) at > > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > > 41) at > > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > > 1791) at > > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > > 323) at > > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
  2. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: > > 121) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: > > 101) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: > > 744) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1841) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 333) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:236) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)

    Root Cause Analysis

    1. com.thoughtworks.selenium.SeleniumException

      Connection refused: > > > connect at > > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > > 111) at > > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > > 90) at > > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > > 719) at > > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > > 27) at > > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > > 41) at > > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > > 1791) at > > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > > 323) at > > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

      at org.testng.TestRunner.beforeRun()
    2. TestNG
      RemoteTestNG.main
      1. org.testng.TestRunner.beforeRun(TestRunner.java:632)
      2. org.testng.TestRunner.run(TestRunner.java:600)
      3. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      4. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      5. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      6. org.testng.SuiteRunner.run(SuiteRunner.java:240)
      7. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      8. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      9. org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
      10. org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
      11. org.testng.TestNG.run(TestNG.java:999)
      12. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
      13. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
      14. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)
      14 frames