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

Run Collection button stucks/freezes when pressed while Collection is being run

Open koynoyno opened this issue 1 year ago • 2 comments

Describe the bug Run button in Run Collection window freezes on Stopping... state when pressed while the collection is still running.

Screenshot 2024-01-16 at 4 38 53 pm

To Reproduce

  1. Collection that caused the issue: thunder_bug_reproduce.json (it uses local API, but the issue is not with the API).
  2. Open Collection > <name_of_the_collection> > Run All window
  3. Press Run button often, after several runs (~20 in my case) runs will sufficiently slow down, so you'll be able to hit the button while the collection still runs (see video below).

Expected behavior Run button is always available.

Platform:

  • OS: macOS 14.1.2
  • vscode version: 1.85.1
  • extension version: 2.17.0

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

Why are you sure the problem with Thunder Client and not with the API? After the issue, I've run performance testing using Postman using the exact same collection, API endpoints were hit 1200 times during one minute and handled testing well.

koynoyno avatar Jan 16 '24 08:01 koynoyno

Video:

https://github.com/rangav/thunder-client-support/assets/46102189/efa023c6-d257-4030-8d4c-01dfcf86710e

For some reason, Thunder Client collection running became way slower after 20+ subsequent runs. First 10 runs were instant, now it requires several seconds to stop running.

koynoyno avatar Jan 16 '24 08:01 koynoyno

Hi @koynoyno

The extension will try some additional initialization. But after that run collection should be as fast as normal.

Can you share full video longer than 7 secs

rangav avatar Jan 16 '24 14:01 rangav