I had the same issue. It was because my network's firewall was blocking access to all ports (except the specific open ones). You need to turn that off, open access to the port or try to run from a different (more open) environment
Thanks, Enrique From: Mauro Talevi [mailto:[email protected]] Sent: Friday, September 21, 2012 8:26 AM To: [email protected] Subject: Re: [jbehave-user] can't execute etsy-stories-java-spring Could be the version of Firefox. I've tested with a fresh install of FF 15.0.1 and it works fine with: Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000) Maven home: C:\Applications\Apache\apache-maven-3.0.4\bin\.. Java version: 1.6.0_35, vendor: Sun Microsystems Inc. Java home: C:\Applications\Java\jdk1.6.0_35\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" The problem may also be a conflict with a VPN if you're running one. Also, you may want to pull latest version of jbehave-tutorial, as I've updated to latest core release. Note that you'll get some failures in etsy_cart, but it's a genuine issue with the page content that's changed, not a connection issue. Cheers On 21/09/2012 15:52, Roy de Kleijn wrote: Hi, I just pulled the etsy-stories-java-spring project, but it seems that the tests can't be run. I tried to do this: clean install -DstoryFilter=etsy_cart The execution is stuck (for 30 seconds) at the narrative: Narrative: In order to show the basic cart functionality As a user I want to add and remove items from the cart after that it will continue with these messages: org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory() (FAILED) (org.jbehave.core.failures.BeforeOrAfterFailed: Method beforeStory (annotated with @BeforeStory in class org.jbehave.web.selenium.PerStoryWebDriverSteps) failed: org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 22:18:01' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_33' Driver info: driver.version: FirefoxWebDriverProvider$DoublyOverriddenFirefoxDriver) Scenario: Item can be added to cart org.jbehave.tutorials.etsy.steps.LifecycleSteps.emptyCart() (FAILED) (org.jbehave.core.failures.BeforeOrAfterFailed: Method emptyCart (annotated with @BeforeScenario in class org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed: org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound: WebDriver has not been found for this thread. Please verify you are using the correct WebDriverProvider, with the appropriate credentials if using remote access, e.g. to SauceLabs: -DSAUCE_USERNAME=xxxxxx -DSAUCE_ACCESS_KEY=xxx-xxxx-xxxx-xxxx-xxx ) Given that the cart is empty (NOT PERFORMED) !-- We don't care for which item is added to the cart It's a bit strange, I just wan't to run the test in my local firefox instance and I'm not using sauce. What do I need to change here? Thanks in advance, Roy
