Selenium Remote Server: java.net.MalformedURLException
Benuhx opened this issue · 3 comments
Benuhx commented
Version: Latest docker image avaible at 04.12.19 / 15:00 Uhr
Full log: log041219.txt
Docker-Compose: docker-compose.txt (rename to .yml)
Test execution fails with Exception: java.net.MalformedURLException: no protocol: ./target/files/system/http:/selenium-hub:4444/wd/hub
Steps to reproduce:
- Login to Alex
- App-Settings, set Selenium Remote Server Url to http://selenium-hub:4444/wd/hub
- Test Managment, open random test
- Click Test Configure Button
- Set this test run configuration:
- Save
- Execute test
Fails with
java.net.MalformedURLException: no protocol: ./target/files/system/http:/selenium-hub:4444/wd/hub
at java.base/java.net.URL.<init>(URL.java:657) ~[na:na]
at java.base/java.net.URL.<init>(URL.java:553) ~[na:na]
at java.base/java.net.URL.<init>(URL.java:500) ~[na:na]
at de.learnlib.alex.learning.entities.webdrivers.RemoteDriverConfig.createDriver(RemoteDriverConfig.java:80) ~[classes!/:na]
at de.learnlib.alex.learning.services.connectors.WebSiteConnector.get(WebSiteConnector.java:124) ~[classes!/:na]
at de.learnlib.alex.data.entities.actions.web.GotoAction.execute(GotoAction.java:67) ~[classes!/:na]
at de.learnlib.alex.data.entities.actions.web.WebSymbolAction.execute(WebSymbolAction.java:41) ~[classes!/:na]
at de.learnlib.alex.data.entities.SymbolAction.executeAction(SymbolAction.java:224) ~[classes!/:na]
at de.learnlib.alex.data.entities.SymbolActionStep.execute(SymbolActionStep.java:62) ~[classes!/:na]
at de.learnlib.alex.data.entities.Symbol.execute(Symbol.java:392) ~[classes!/:na]
at de.learnlib.alex.data.entities.ParameterizedSymbol.execute(ParameterizedSymbol.java:144) ~[classes!/:na]
at de.learnlib.alex.testing.entities.TestCaseStep.execute(TestCaseStep.java:102) ~[classes!/:na]
at de.learnlib.alex.testing.services.TestExecutor.executeStep(TestExecutor.java:233) ~[classes!/:na]
at de.learnlib.alex.testing.services.TestExecutor.executeTestCase(TestExecutor.java:167) ~[classes!/:na]
at de.learnlib.alex.testing.services.TestExecutor.executeTests(TestExecutor.java:70) ~[classes!/:na]
at de.learnlib.alex.testing.services.TestThread.run(TestThread.java:136) ~[classes!/:na]
lachawoj commented
I confirm the issue.
Benuhx commented
Your fix works :)