Forum Discussion

tsuarezc's avatar
tsuarezc
Occasional Contributor
3 years ago

ReadyAPI 8 - Issue running a test suite in parallel mode

When running a test suite in parallel mode (45 test cases) and you want to STOP the execution ReadyAPI get freezing, you need to CLOSE ReadyAPI to start again

7 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    One has the be careful while running the test in parallel. Especially when there are more number of tests like you mentioned.

    Do you see all the tests case execution start at the same time?

    Though I am not 100% sure that whether it starts 45 threads or some other way.
    I would like someone from Smartbear team clarify that.

    Here two things needs to be considered:
    1. Does pc making API calls has the enough memory? Try configuring heap size in READYAPI_HOME/bin/readyapi.vmoptios

    2. Can the service take such load?

    I understand based on the question that you are into #1 problem. So, try increasing heap and see if that helps!
    • tsuarezc's avatar
      tsuarezc
      Occasional Contributor

      we have enough memory (16 Gb) and the vmotions is configured by default:
      -XX:MinHeapFreeRatio=20
      -XX:MaxHeapFreeRatio=40
      -Xms128m
      -Xmx8000m

      I am running VisualVM and I noticed that the threads once start never are liberated (live threads) even when I try to STOP de execution