How does Katalon run the Zalenium

I don’t know how to make Katalon run on Zalenium. I have searched the relevant information on the https://zalando.github.io/zalenium/ , but I haven’t found the method of their integration,ask you help me,Thank you!

Katalon will not run on Zalenium, but you can execute tests there.
Just define remote server - address of Zalenium gird and there you go

image.png

2 Likes

Thank you for your help,but i still can’t excute tests there.My environment is set as follows:
(1)Execution settings address of Zalenium gird as follows:

(2)
The code and running results are as follows:

Looking forward to your reply,Thank you!

2.png

3.png

Supplement:
(1)the code as following:
WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘http://localhost/cwbase/web/Login.aspx’)

WebUI.setText(findTestObject(‘GSPub/GSPubFramework/input_txt_UserID’), ‘wangyanli’)

WebUI.setEncryptedText(findTestObject(‘GSPub/GSPubFramework/input_txt_Password’), ‘Fv+WGZNB4tE=’)

WebUI.click(findTestObject(‘GSPub/GSPubFramework/span_’))

WebUI.closeBrowser()

(2)when run with remote the error message as following:
Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to create session from org.openqa.selenium.remote.NewSessionPayload@d71a483

Build info: version: ‘3.12.0’, revision: ‘7c6e0b3’, time: ‘2018-05-08T15:15:08.936Z’

System info: host: ‘5d3f19cd5f41’, ip: ‘172.17.0.3’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘3.10.0-693.el7.x86_64’, java.version: ‘1.8.0_171’

Driver info: driver.version: unknown

Command duration or timeout: 104 milliseconds)

Looking forward to your reply,Thank you!

wangyanli,

Do you have Proxy in between your local PC and remote Zalenium Server?

If so, have a look at this : http://forum.katalon.com/discussion/comment/18251 ---- while replacing ‘BrowserStack’ with ‘Zalenium’

2 Likes

First Thank you for your answer!
I set the Proxy now is not OK. According to the url link you provided, it means that current Katalon version(5.5.0) cannot use the zalenium to excute the test now, right?
Looking forward to your reply,Thank you!

wangyanli said:

First Thank you for your answer!
I set the Proxy now is not OK. According to the url link you provided, it means that current Katalon version(5.5.0) cannot use the zalenium to excute the test now, right?
Looking forward to your reply,Thank you!

If you have a proxy server of your organization/company, then Katalon Studio on your pc can not speak to Zalenium over the Proxy barrier.

**Firstly,**Validated in my running environment, executive Zalenium Katalon Test, do not need to set up the Proxy, because I am in a program ,first action :println (" Test ") is successful, run to the second action: WebUI. OpenBrowser (’ ') is unsuccessful, error message is as follows:

07-19-2018 03:09:14 下午 - [START] - Start Test Case : Test Cases/FSSC/FSBZ/Test2

07-19-2018 03:09:14 下午 - [INFO] - Evaluating variables for test case

07-19-2018 03:09:14 下午 - [START] - Start action : Statement - println(“Test”)

Test

07-19-2018 03:09:14 下午 - [END] - End action : Statement - println(“Test”)

07-19-2018 03:09:14 下午 - [START] - Start action : openBrowser

07-19-2018 03:09:15 下午 - [INFO] - Opening browser

07-19-2018 03:09:15 下午 - [INFO] - Starting ‘Remote’ driver

07-19-2018 03:09:15 下午 - [INFO] - Connecting to remote web server ‘http://10.24.100.52:4444/wd/hub’ with type ‘Selenium’

07-19-2018 03:09:15 下午 - [INFO] - Action delay is set to 0 seconds

07-19-2018 03:19:16 下午 - [FAILED] - Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: Error forwarding the new session Request timed out waiting for a node to become available.

Command duration or timeout: 600.16 seconds

Build info: version: ‘3.12.0’, revision: ‘7c6e0b3’, time: ‘2018-05-08T15:15:08.936Z’

System info: host: ‘WANGYANLI00’, ip: ‘10.13.11.48’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: driver.version: CRemoteWebDriver)

07-19-2018 03:19:16 下午 - [END] - End action : openBrowser

07-19-2018 03:19:16 下午 - [FAILED] - Test Cases/FSSC/FSBZ/Test2 FAILED because (of) Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: Error forwarding the new session Request timed out waiting for a node to become available.

Command duration or timeout: 600.16 seconds

Build info: version: ‘3.12.0’, revision: ‘7c6e0b3’, time: ‘2018-05-08T15:15:08.936Z’

System info: host: ‘WANGYANLI00’, ip: ‘10.13.11.48’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: driver.version: CRemoteWebDriver)

07-19-2018 03:19:16 下午 - [END] - End Test Case : Test Cases/FSSC/FSBZ/Test2

**Secondly,**The following is how I set up the Zalenium:

(1)pull images:

docker pull elgalu/selenium

docker pull dosel/zalenium

(2)run the Zalenium:

docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 \

-v /var/run/docker.sock:/var/run/docker.sock \

-v /tmp/videos:/home/seluser/videos \

--privileged dosel/zalenium start --chromeContainers 2 --firefoxContainers 2

(3)Then in the Remote Katalon by input url: http://10.24.100.52:4444/wd/hub, perform the test, appear the above error.

**Thirdly,**I wonder what the problem is. Is it the following?Or something else?

(1)Did Katalon start the browser code incorrectly?WebUI.openBrowser(’’)parameter cant’t be empty?

(2)Do the versions of Katalon and Zalenium need to match? I’m using them now Katalon(5.5.0)、Zalenium(3.13)

Looking forward to your reply,Thank you!

Error forwarding the new session Request timed out waiting for a node to become available.

This message tells me the URL could be wrong.

http://10.24.100.52:4444/wd/hub

Is this URL actually available? When I click it on my browser, I got no reply within 60 seconds and timed out. This implies that the URL is not in service.