Closed shiva4983 closed 6 years ago
Could you please try again with the web page http://katalon-test.s3.amazonaws.com/demo-aut/dist/html/form.html. I doubt that since the proxy protocol is HTTP, it won't work with google page which would automatically redirect to https://google.com.
Hi @devalex88 , Thanks again. Yes, I am able to access the HTTP web page you have provided. However, I have tried passing the HTTPS value. even I am not able to access HTTPS sites. Any advice?
Usually, proxy ports for HTTP and HTTPS connections are separate. Could you please check if your proxy supports HTTPS connections, and on what port?
Sure @devalex88 . I am closing this issue.
Hi @devalex88 ,
This is related to issue. First of all thanks for clarifying it. I am able to pass the proxy information successfully. However the browser is not able to launch the URL.
run_Chrome.sh
!/usr/bin/env bash
set -xe
current_dir=$(pwd) project_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" reports_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )/Reports/WorkFlow Sprints"
rm -rfv "$reports_dir" mkdir -p "$reports_dir"
katalon_opts='-browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/EPS Admin - WorkFlow Sprints" --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTP -proxy.server.address=MyProxyIP -proxy.server.port=8080 -proxy.username=MyProxyUserName -proxy.password=MyProxyPassword' docker run --rm -v "/$project_dir":/katalon/katalon/source:ro -v "/$reports_dir":/katalon/katalon/report -e KATALON_OPTS="$katalon_opts" katalonstudio/katalon
cd $current_dir
Log info: Starting ChromeDriver 2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881) on port 9341 Only local connections are allowed.
Test Suites/ Sprints - Chrome - 20180523_195531......0/1(0%)
May 23, 2018 7:56:00 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS 05-23-2018 07:56:00 PM - [RUN_DATA] - Logging run data 'sessionId' with value '8b1b50fe0cde940ccd87c9ec659a672d' 05-23-2018 07:56:00 PM - [RUN_DATA] - Logging run data 'browser' with value 'Chrome 66.0.3359.139' 05-23-2018 07:56:00 PM - [RUN_DATA] - Logging run data 'platform' with value 'Linux' 05-23-2018 07:56:00 PM - [RUN_DATA] - Logging run data 'seleniumVersion' with value '3.7.1' 05-23-2018 07:56:00 PM - [RUN_DATA] - Logging run data 'proxyInformation' with value 'ProxyInformation{proxyOption=MANUAL_CONFIG, proxyServerType=HTTP, password=MyProxyPassword, proxyServerAddress=MyProxyIP, proxyServerPort=8080}' 05-23-2018 07:56:00 PM - [INFO] - Navigating browser to: 'http://www.google.com'
Wed May 23 19:57:34 UTC 2018 Cannot send request, retry to send.
No proxy found.
Wed May 23 19:57:44 UTC 2018 Cannot send request, retry to send.
No proxy found.
Test Suites/ Sprints - Chrome - 20180523_195531......0/1(0%)
[1527105660.399][SEVERE]: Timed out receiving message from renderer: 296.753 [1527105660.429][SEVERE]: Timed out receiving message from renderer: -0.031 [1527105660.507][SEVERE]: Timed out receiving message from renderer: -0.110 05-23-2018 08:01:00 PM - [FAILED] - Unable to open browser with url: 'www.google.com' (Root cause: org.openqa.selenium.TimeoutException: timeout (Session info: chrome=66.0.3359.139) (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 4.9.93-boot2docker x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z' System info: host: '439814915e89', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.93-boot2docker', java.version: '1.8.0_162' Driver info: com.kms.katalon.selenium.driver.CChromeDriver Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528139 (47ead77cb35ad2..., userDataDir: /tmp/.org.chromium.Chromium...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, rotatable: false, setWindowRect: true, takesHeapSnapshot: tru e, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 66.0.3359.139, webStorageEnabled: true} Session ID: 8b1b50fe0cde940ccd87c9ec659a672d) 05-23-2018 08:01:00 PM - [END] - End action : openBrowser 05-23-2018 08:01:00 PM - [FAILED] - Test Cases/SampleTestTable FAILED because (of) Unable to open browser with url: 'www.google.com' (Root cause: org.openqa.selenium.TimeoutException: timeout (Session info: chrome=66.0.3359.139) (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 4.9.93-boot2docker x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z' System info: host: '439814915e89', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.93-boot2docker', java.version: '1.8.0_162' Driver info: com.kms.katalon.selenium.driver.CChromeDriver Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528139 (47ead77cb35ad2..., userDataDir: /tmp/.org.chromium.Chromium...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, rotatable: false, setWindowRect: true, takesHeapSnapshot: tru e, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 66.0.3359.139, webStorageEnabled: true} Session ID: 8b1b50fe0cde940ccd87c9ec659a672d)
Test Suites/ Sprints - Chrome - 20180523_195531......0/1(0%)