thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Skip request is not working both on cli running or collection running usaing UI

Open thiagosouza opened this issue 7 months ago • 2 comments

Describe the bug I need to skip some requests in my tests. So I am trying the skip request functionality, but it is not working. I verified everything I could with no success.

To Reproduce create two requests and in the first one add a pre-request script with the following code

if(someReasonToSkip)
  await tc.skipRequest(tc.request.id);

Expected behavior It was supposed to not execute the second request, but it is running it anyways.

Platform:

  • OS: Windows
  • vscode version: 1.19.1.1
  • node version: 20
  • extension version: v2.24.12

Are you using the free version/paid version/trial: paid

thiagosouza avatar Jul 16 '24 16:07 thiagosouza