gpt4 book ai didi

java - "500 Error: Failed to establish a backside connection"- Bluemix Selenium 测试

转载 作者:行者123 更新时间:2023-11-30 02:15:15 24 4
gpt4 key购买 nike

我部署了一个简单的基于 Web 的项目,该项目通过 IBM Cloud 在 browserstack(测试环境)上运行基本的测试自动化。

网址:https://gaiaautomation0.au-syd.mybluemix.net/

测试通过来自网页的调用来执行,并且在执行测试时(Ajax 调用)会显示覆盖图。

在执行期间,IBM Cloud 在不同的测试步骤中随机超时,并出现以下控制台错误,但测试仍在执行。有没有办法阻止下面显示的 500 错误。

Error in browser: 500 Error: Failed to establish a backside connection

Error on console : 2018-02-08T22:54:38.56+0530 [RTR/8] OUT gaiaautomation0.au-syd.mybluemix.net - [2018-02-08T17:22:37.569+0000] "GET /home?squadInput=CPI_Squad&featureFileInput=ABO_Increase_Watson&revenueFeatureFileInput= HTTP/1.1" 502 0 67 "https://gaiaautomation0.au-syd.mybluemix.net/" "Mozilla/5.0 (Windows NT 1 0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36" "130.198.74.114:13610" "130.198.80.122:63237" x_forwarded_for:"71.198.43.235" x_forwarded_proto:"https" vcap_request_id:"227ae9bf-40dd-4574-7931-967ed1a3ac51" response_time:120.998508302 app_id:"7bc9c303-4ff6 e2e-9978-6f88d88a0bf9" app_index:"0" x_global_transaction_id:"1936661453" true_client_ip:"-" x_b3_traceid:"1fdd5d96f5688475" x_b3_spanid:"1fdd5d96f5688475" x_b3_parentspanid:"-" 2018-02-08T22:54:38.56+0530 [RTR/8] OUT 2018-02-08T22:54:40.02+0530 [APP/PROC/WEB/0] OUT xpath : (//INPUT[@value=' Edit '])[1]

最佳答案

当 IBM Cloud 与您的应用程序之间没有发生任何 Activity 时,通常会发生这种情况。从 server.xml 增加超时。通常默认设置为2分钟

关于java - "500 Error: Failed to establish a backside connection"- Bluemix Selenium 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48734553/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com