org.junit.runners.model.TestTimedOutException: *test timed out after 5 seconds*

Google Groups | 80Vikram | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    HttpClient 4.2.3 - Connection reset exception

    Stack Overflow | 4 years ago | MFH
    java.net.SocketException: Connection reset
  2. 0

    HTTPS on non-default port results in Connection reset

    Stack Overflow | 2 years ago | Brecht Yperman
    java.net.SocketException: Connection reset
  3. 0

    speech to text service call timed out - dWAnswers

    ibm.com | 1 month ago
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.junit.runners.model.TestTimedOutException

      *test timed out after 5 seconds*

      at java.net.SocketInputStream.socketRead0()
    2. Java RT
      SocketInputStream.read
      1. java.net.SocketInputStream.socketRead0(Native Method)
      2. java.net.SocketInputStream.read(SocketInputStream.java:150)
      3. java.net.SocketInputStream.read(SocketInputStream.java:121)
      3 frames
    3. Java JSSE
      AppInputStream.read
      1. sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
      2. sun.security.ssl.InputRecord.read(InputRecord.java:503)
      3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961)
      4. sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918)
      5. sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
      5 frames
    4. Apache Http
      AbstractSessionInputBuffer.readLine
      1. org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
      2. org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
      3. org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
      3 frames
    5. Apache HttpClient
      DefaultHttpResponseParser.parseHead
      1. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
      2. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
      2 frames
    6. Apache Http
      AbstractHttpClientConnection.receiveResponseHeader
      1. org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
      2. org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
      2 frames
    7. Apache HttpClient
      ManagedClientConnectionImpl.receiveResponseHeader
      1. org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)
      2. org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)
      2 frames
    8. Apache Http
      HttpRequestExecutor.execute
      1. org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
      2. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
      2 frames
    9. Apache HttpClient
      HttpClient$execute$0.call
      1. org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)
      2. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)
      3. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
      4. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
      5. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
      6. org.apache.http.client.HttpClient$execute$0.call(Unknown Source)
      6 frames
    10. io.restassured.internal
      RequestSpecificationImpl.sendHttpRequest
      1. io.restassured.internal.RequestSpecificationImpl$RestAssuredHttpBuilder.doRequest(RequestSpecificationImpl.groovy:2119)
      2. io.restassured.internal.http.HTTPBuilder.doRequest(HTTPBuilder.java:494)
      3. io.restassured.internal.http.HTTPBuilder.request(HTTPBuilder.java:451)
      4. io.restassured.internal.http.HTTPBuilder$request$3.call(Unknown Source)
      5. io.restassured.internal.RequestSpecificationImpl.sendHttpRequest(RequestSpecificationImpl.groovy:1522)
      5 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    12. Groovy
      MetaClassImpl.invokeMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812)
      5 frames
    13. io.restassured.internal
      RequestSpecificationImpl.invokeMethod
      1. io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    14. Groovy
      PogoInterceptableSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
      2. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
      2 frames
    15. io.restassured.internal
      RequestSpecificationImpl.sendRequest
      1. io.restassured.internal.RequestSpecificationImpl.sendRequest(RequestSpecificationImpl.groovy:1288)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    17. Groovy
      MetaClassImpl.invokeMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812)
      5 frames
    18. io.restassured.internal
      RequestSpecificationImpl.invokeMethod
      1. io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    19. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
      2 frames
    20. io.restassured.internal
      SendRequestFilter.filter
      1. io.restassured.internal.filter.SendRequestFilter.filter(SendRequestFilter.groovy:30)
      1 frame
    21. io.restassured.filter
      Filter$filter$0.call
      1. io.restassured.filter.Filter$filter$0.call(Unknown Source)
      1 frame
    22. Groovy
      CallSiteArray.defaultCall
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      1 frame
    23. io.restassured.filter
      Filter$filter.call
      1. io.restassured.filter.Filter$filter.call(Unknown Source)
      1 frame
    24. io.restassured.internal
      FilterContextImpl.next
      1. io.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
      1 frame
    25. io.restassured.filter
      Filter$filter.call
      1. io.restassured.filter.time.TimingFilter.filter(TimingFilter.java:56)
      2. io.restassured.filter.Filter$filter.call(Unknown Source)
      2 frames
    26. Groovy
      CallSiteArray.defaultCall
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      1 frame
    27. io.restassured.filter
      Filter$filter.call
      1. io.restassured.filter.Filter$filter.call(Unknown Source)
      1 frame
    28. io.restassured.internal
      FilterContextImpl.next
      1. io.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
      1 frame
    29. io.restassured.filter
      Filter$filter.call
      1. io.restassured.filter.log.RequestLoggingFilter.filter(RequestLoggingFilter.java:124)
      2. io.restassured.filter.Filter$filter.call(Unknown Source)
      2 frames
    30. Groovy
      CallSiteArray.defaultCall
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      1 frame
    31. io.restassured.filter
      Filter$filter$0.call
      1. io.restassured.filter.Filter$filter$0.call(Unknown Source)
      1 frame
    32. io.restassured.internal
      FilterContextImpl.next
      1. io.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
      1 frame
    33. io.restassured.filter
      FilterContext$next.call
      1. io.restassured.filter.FilterContext$next.call(Unknown Source)
      1 frame
    34. io.restassured.internal
      RequestSpecificationImpl.applyPathParamsAndSendRequest
      1. io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1722)
      1 frame
    35. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    36. Groovy
      MetaClassImpl.invokeMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812)
      5 frames
    37. io.restassured.internal
      RequestSpecificationImpl.invokeMethod
      1. io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    38. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
      2. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
      3 frames
    39. io.restassured.internal
      RequestSpecificationImpl.applyPathParamsAndSendRequest
      1. io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1728)
      1 frame
    40. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    41. Groovy
      MetaClassImpl.invokeMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812)
      5 frames
    42. io.restassured.internal
      RequestSpecificationImpl.invokeMethod
      1. io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    43. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
      2. org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
      3 frames
    44. io.restassured.internal
      RequestSpecificationImpl.get
      1. io.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:168)
      2. io.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy)
      2 frames