ContributionsMost RecentMost LikesSolutionsBitBar - How to fail the entire test run if test cases failed I'm using Bitbar to run my mobile automation. I can even automation fails session run shows as success. Is there any way that we can fail the test run if any of the rest cases failed? com.testdroid.api.APIException: Failed to submit test run! No device model matching pattern I'm New to bit-bar. I'm trying to automation mobile native application, When run my test case with below desired capabilities, I'm getting Message: com.testdroid.api.APIException: Failed to submit test run! No device model matching pattern '%Samsung Galaxy A50 2019 SM-A505FN' available My Desired capabilities: {"bitbar_apiKey": "<my Key>", "bitbar_device": "Samsung Galaxy A50 2019 SM-A505FN", "bitbar_app": "<my app id>", "platformName": "Android", "appPackage": "com.aws.android", "appActivity": "app.ui.HomeActivity", "deviceName": "Android Phone", "bitbar_project": "WB-BitBar-POC", "bitbar_testrun": "Scree", "automationName": "uiautomator2", 'appPackage': 'com.aws.android', 'appActivity': 'app.ui.HomeActivity'} I have tried both driver = webdriver.Remote("https://us-west-mobile-hub.bitbar.com/wd/hub", capabilities) and browser.driver = webdriver.Remote("https://appium.bitbar.com/wd/hub", capabilities) Any help on this would be appreciated. How to get response error from run Test case step? In readyAPI, we have a step called 'Run TestCase"under add step. If I use that to call another testcase, is there any way to receive the response of called test case?. Because right now I'm just getting passed or failed. I'm not getting any errors from the called step. In short, When I run the "Run Testcase"pointing to test case A, if testcase A failed, how can I get the failure reason without going to testcase A SolvedNeed help to setup Jenkins job using project from Git Hi All. I have a composite project in GITHUB. I installed the ReadyAPI in jenkins server. Now I want to run readyAPI test cases from Jenkins jobs. which has to pick the project from github. How can I achieve this? I'm strugging to find the information. Anyhelp would be appreciated . SolvedRe: Getting : ERROR: Exception in request: java.net.SocketException: Connect Sorry for late reply. Before trying your approach, I updated my ReadyAPI to 3.2.5. But Unfortunately after my upgrade none of my test case is running. I'm getting below exception Wed May 13 14:39:08 UTC 2020: ERROR: Exception in request: javax.net.ssl.SSLException: Couldn't kickstart handshaking Wed May 13 14:39:08 UTC 2020: ERROR: An error occurred [Couldn't kickstart handshaking], see error log for details Wed May 13 14:39:08 UTC 2020: ERROR: javax.net.ssl.SSLException: Couldn't kickstart handshaking javax.net.ssl.SSLException: Couldn't kickstart handshaking at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:405) at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:721) at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:998) at com.eviware.soapui.impl.wsdl.support.http.SoapUILoggingOutputStream.write(SoapUILoggingOutputStream.java:41) at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:126) at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:138) at org.apache.http.impl.io.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:146) at org.apache.http.impl.io.ContentLengthOutputStream.flush(ContentLengthOutputStream.java:101) at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:117) at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:158) at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:162) at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:237) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doSendRequest(HttpClientSupport.java:504) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:122) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.doExecute(HttpClientSupport.java:250) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:631) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:605) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:337) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:254) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:130) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:835) Suppressed: java.net.SocketException: Connection reset by peer: socket write error at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150) at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:351) ... 33 more Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150) at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:251) at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:89) at java.base/sun.security.ssl.ClientHello$ClientHelloKickstartProducer.produce(ClientHello.java:658) at java.base/sun.security.ssl.SSLHandshake.kickstart(SSLHandshake.java:515) at java.base/sun.security.ssl.ClientHandshakeContext.kickstart(ClientHandshakeContext.java:107) at java.base/sun.security.ssl.TransportContext.kickstart(TransportContext.java:227) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:395) ... 31 more Getting : ERROR: Exception in request: java.net.SocketException: Connect Hi All, Recent times I'm facingERROR: Exception in request: java.net.SocketException: Connection reset a lot. Everytime has to run 3 to 4 times to execute the API. I don't know what is the issue here? I tried couple of solution from internet but I couldn't fixed it. Any inputs to resolve this would be appreciated. Because it really kills the automation and has to run every API 3 to 4 times to get success. Tue May 05 16:51:23 UTC 2020: ERROR: Exception in request: java.net.SocketException: Connection reset Tue May 05 16:51:23 UTC 2020: ERROR: An error occurred [Connection reset], see error log for details HTTP-LOG ========= [write] I/O error: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset ERROR-LOG ========= Tue May 05 16:51:23 UTC 2020: ERROR: java.net.SocketException: Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.security.ssl.InputRecord.readFully(Unknown Source) at sun.security.ssl.InputRecord.read(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.waitForClose(Unknown Source) at sun.security.ssl.HandshakeOutStream.flush(Unknown Source) at sun.security.ssl.Handshaker.kickstart(Unknown Source) at sun.security.ssl.SSLSocketImpl.kickstartHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source) at sun.security.ssl.AppOutputStream.write(Unknown Source) at com.eviware.soapui.impl.wsdl.support.http.SoapUILoggingOutputStream.write(SoapUILoggingOutputStream.java:41) at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:126) at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:138) at org.apache.http.impl.io.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:146) at org.apache.http.impl.BHttpConnectionBase.doFlush(BHttpConnectionBase.java:177) at org.apache.http.impl.DefaultBHttpClientConnection.flush(DefaultBHttpClientConnection.java:185) at org.apache.http.impl.conn.CPoolProxy.flush(CPoolProxy.java:177) at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:240) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doSendRequest(HttpClientSupport.java:498) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:122) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.doExecute(HttpClientSupport.java:248) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:593) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:661) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:332) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:249) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:130) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Above are the errors, I'm receiving every-time. Solvedorg.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0: Hi All, I'm trying to connect selenium from readyapi, I followed the same steps given in the selenium integration documentation, but I'm getting below error org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:38669 Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48' System info: host: 'ITORL464', ip: '192.168.102.6', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: FirefoxDriver error at line: 7 I'm new to this, anyhelp is appreticated. I'm using geckodriver-v0.9.0 selenium-java-3.14. SolvedIs it possible to connect VMs from readyAPI? Hi Team. I got a usecase that I want to test, I'm not sure that is achievable in ReadyAPI. Can anyone help on this? My Usecase: Rest call to execute some operation As a result of above call, a json string will be logged inside the VM server as a log. I want to grep that log and validate. Is it possible to connect and grep the logs from VMs through groovy or readyAPI? Any help is appreciated. SolvedHow to execute multiple test suites from jenkins? Hi All. I using jenkins to excute my automation suits. I want to excute more than one test suite at a time. I don't want to run jenkins job multiples times. Is there any way we can excute mulitple test suites in readyAPI with jenkins using shell script? "/ReadyAPI-2.8.2/bin/testrunner.sh" -s3.4.1_Sanity -r -a -j -f${WORKSPACE}/ReadyAPI_report -g "-RJUnit-Style HTML Report" -FXML -EQA ${WORKSPACE} SolvedRe: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking nmrao those are rest service. Yes I checked those JSON and XML tabs. I'm not seeing anything Please fine my system prop -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Xms128m -Xmx8000m -Dsoapui.properties=soapui.properties -Dsoapui.home=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin -Dsoapui.ext.libraries=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin/ext -Dsoapui.ext.listeners=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin/listeners -Dsoapui.ext.actions=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin/actions -Dwsi.dir=C:\Program Files\SmartBear\ReadyAPI-3.1.0/wsi-test-tools -Djava.library.path=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin -Djava.util.Arrays.useLegacyMergeSort=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.security.manager=com.smartbear.ready.ReadyApiSecurityManager -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2 -Dsoapui.https.protocols=SSLv3,TLSv1.2