org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.executeResources() didn't finish within the time-out 420000

GitHub | manoj7shekhawat | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    rest-assured: Request timeouts

    GitHub | 11 months ago | manoj7shekhawat
    org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.executeResources() didn't finish within the time-out 420000

    Root Cause Analysis

    1. org.testng.internal.thread.ThreadTimeoutException

      Method org.testng.internal.TestNGMethod.executeResources() didn't finish within the time-out 420000

      at java.lang.reflect.InvocationTargetException.<init>()
    2. Java RT
      Method.invoke
      1. java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
      2. sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    3. 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:1210)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)
      5 frames
    4. REST Assured
      RequestSpecificationImpl.invokeMethod
      1. com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    5. 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
    6. REST Assured
      RequestSpecificationImpl.invokeFilterChain
      1. com.jayway.restassured.internal.filter.SendRequestFilter.filter(SendRequestFilter.groovy:31)
      2. com.jayway.restassured.filter.Filter$filter.call(Unknown Source)
      3. com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:49)
      4. com.jayway.restassured.filter.FilterContext$next.call(Unknown Source)
      5. com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:956)
      5 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    8. 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:1210)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)
      5 frames
    9. REST Assured
      RequestSpecificationImpl.invokeMethod
      1. com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    10. 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
    11. REST Assured
      RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest
      1. com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1414)
      2. com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    13. 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:1210)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)
      5 frames
    14. REST Assured
      RequestSpecificationImpl.invokeMethod
      1. com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
      1 frame
    15. 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
    16. REST Assured
      RequestSpecificationImpl.post
      1. com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:154)
      2. com.jayway.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
      2 frames
    17. oracle.idaas.oauth
      AccessTokenMain.reGenerateAccessTokens
      1. oracle.idaas.oauth.endpoint.Token.generateAccessToken(Token.java:100)
      2. oracle.idaas.oauth.tasks.AccessTokenMain.generateTokensWithoutUsers(AccessTokenMain.java:125)
      3. oracle.idaas.oauth.tasks.AccessTokenMain.reGenerateAccessTokens(AccessTokenMain.java:77)
      3 frames
    18. oracle.idaas.idpsRest
      RestResources.executeResources
      1. oracle.idaas.idpsRest.provider.HttpAccess.refreshAccessTokens(HttpAccess.java:1036)
      2. oracle.idaas.idpsRest.provider.HttpAccess.GETservice(HttpAccess.java:393)
      3. oracle.idaas.idpsRest.testProviders.CommonResourcesREST.LISTresource(CommonResourcesREST.java:2658)
      4. oracle.idaas.idpsRest.testProviders.CommonResourcesREST.executeREST(CommonResourcesREST.java:152)
      5. oracle.idaas.idpsRest.testProviders.CommonResources.executeOperations(CommonResources.java:240)
      6. oracle.idaas.idpsRest.testProviders.RestResources.executeResources(RestResources.java:179)
      6 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    20. TestNG
      InvokeMethodRunnable.run
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      2. org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
      3. org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
      3 frames
    21. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames