Я использую фреймворк API Каратэ. Все отлично работает на моей локальной машине, но когда я пытаюсь запустить тот же самый проект в Jenkins, это выдает мне следующую ошибку. Любая помощь будет высоко ценится :) Ниже мой код, он выбирает код, но терпит неудачу
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running practice.karatee
18:53:21.667 [ForkJoinPool-1-worker-1] INFO com.intuit.karate - karate.env system property was: test
18:53:22.279 [ForkJoinPool-1-worker-1] DEBUG com.intuit.karate - request:
1 > POST https://URL
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 519
1 > Content-Type: text/xml; charset=UTF-8
1 > Host: lnxabs000XXX....:7343
1 > SOAPAction: /login
1 > User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_121)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsh="http://www.informatica.com/wsh">
<soapenv:Header/>
<soapenv:Body>
<wsh:Login>
<RepositoryDomainName>Domain_Aqr_Dev_Powercenter</RepositoryDomainName>
<RepositoryName>Powercenter_Repository_Service</RepositoryName>
<UserName>aid_dev_da_InfWS</UserName>
<Password>g8cZNb3g6htgvYWT</Password>
<UserNameSpace/>
</wsh:Login>
</soapenv:Body>
</soapenv:Envelope>
18:53:43.320 [ForkJoinPool-1-worker-1] ERROR com.intuit.karate - org.apache.http.conn.HttpHostConnectException: Connect to lnxabs000XXXX...:7343 [lnxabs000XXX/10.88.0.120] failed: Connection timed out: connect, http call failed after 21041 milliseconds for URL: https://URL
18:53:43.321 [ForkJoinPool-1-worker-1] ERROR com.intuit.karate - http request failed:
org.apache.http.conn.HttpHostConnectException: Connect to lnxabs000XXX....:7343 [lnxabs000XXX.../10.88.0.120] failed: Connection timed out: connect
18:53:43.336 [pool-1-thread-1] INFO com.intuit.karate.Runner - <<fail>> feature 1 of 1: classpath:practice/karate.feature
---------------------------------------------------------
feature: classpath:practice/karate.feature
report: target\surefire-reports\practice.karate.json
scenarios: 1 | passed: 0 | failed: 1 | time: 21.3477
---------------------------------------------------------
Karate version: 0.9.4
======================================================
elapsed: 21.95 | threads: 5 | thread time: 21.35
features: 1 | ignored: 0 | efficiency: 0.19
scenarios: 1 | passed: 0 | failed: 1
======================================================
failed features:
practice.karate: karate.feature:29 -
org.apache.http.conn.HttpHostConnectException: Connect to lnxabs0001298.infra.abs.gov.au:7343 [lnxabs000XXX....../10.88.0.120] failed: Connection timed out: connect
Oct 31, 2019 6:53:43 PM net.masterthought.cucumber.ReportParser parseJsonFiles
INFO: File 'Y:\Jenkins\workspace\TAE\DAKarate@2\Demo\target\surefire-reports\practice.karate.json' contains 1 features
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 23.443 sec <<< FAILURE!
Results :
Failed tests:
testParallel(practice.karatee)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[ERROR] There are test failures.