Mate Mrse
Katalon Expert
05/16/2018

How to stop execution in console (headless) mode

How can I stop execution of a test case in headless mode? I tried Ctrl+c, but all that does is close the window, the test keeps going in background.
Upvote
Quote

Comments

  • David Klein
    Katalon Ambassador
    05/21/2018
    From a separate Windows command prompt, I type:
    taskkill -f katalon.exe
    taskkill -f node.exe
    taskkill -f java.exe

    I end up having to kill all three processes so that all the files Katalon touches are released from running processes.
    Best Answer
    Upvote
    Quote
  • Nino Dagdag
    Katalon Apprentice
    05/21/2018
    I also encounter this problem. Here's my code..

    for (def index : (0..data.getRowNumbers() - 1)) {
    [code here]
    }

    I also add if (index == 64) break; at the end of the loop but still no luck.

    Please help anyone
    Upvote
    Quote
  • Mate Mrse
    Katalon Expert
    05/22/2018
    @David Klein

    Thanks!
    Upvote
    Quote
Sign In or Register to comment.
Not the answer you're looking for? Consider subscribing to Business support.