iriusrisk / bdd-security

BDD Automated Security Tests for Web Applications
http://www.continuumsecurity.net/bdd-intro.html
GNU Affero General Public License v3.0
559 stars 177 forks source link

Web Driver Timeout with default configurations #102

Open ngumina opened 5 years ago

ngumina commented 5 years ago

Running current version of BDD on RHEL with java 1.8 and gradle 4.8.1

When running ./gradlew, all tests fail out due to what looks like a chromedriver timeout issue. I haven't altered the config.xml file at all and have made sure ropeytasks is running. Code snippet of error below

net.continuumsecurity.junit.SecurityTest > Scenario: The application should not contain Server side include vulnerabilities.classMethod FAILED java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start. Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z' System info: host: 'le0000000451', ip: '10.39.2.90', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.26.2.el7.x86_64', java.version: '1.8.0_191' Driver info: driver.version: ChromeDriver

    Caused by:
    org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start.
    Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'
    System info: host: 'le0000000451', ip: '10.39.2.90', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.26.2.el7.x86_64', java.version: '1.8.0_191'
    Driver info: driver.version: ChromeDriver

        Caused by:
        org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:7310/status] to be available after 20000 ms