thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.61k stars 126 forks source link

ThunderClient is not responding to one of the API request and keeps spinning/rolling for infinite time. #1495

Closed mubeentajss closed 4 months ago

mubeentajss commented 5 months ago

Hello Team,

Am experiencing the API response spinning issue, When I hit the API request it keeps spinning infinitely and not showing any error response this happens only for one of our specific API request not for all, I see immediate response for negative scenario and not seeing response for happy path, same API request when I hit via cypress it shows response but through thunderClient I see it is rolling rolling until I have to close that tab otherwise it keeps spinning for infinite time, can someone please help on this ! thanks in advance !

rangav commented 5 months ago

can you please share the following

ext version vscode version node version

mubeentajss commented 5 months ago

Node.js v16.20.0.

Vscode verison : Version: 1.87.1 (Universal) Commit: 1e790d77f81672c49be070e04474901747115651 Date: 2024-03-06T00:23:16.418Z (6 days ago) Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Darwin arm64 22.6.0

Thunder Client version : v2.17.8

rangav commented 5 months ago

Please update extension to latest version v2.19.5 and test it

TimWilsonQA commented 5 months ago

Hi Ranga, Mubeen is out at the moment but I can provide additional detail. First, we have verified we are on the latest version you referenced - v2.19.5. The behavior persists.

For the offending request, it includes post request scripting (under the Tests tab). We run the transaction and in the response space, it hangs on a spinny and never returns the response. If we comment out all of the post request scripting, it also hangs. If we remove the post request scripting altogether, it does not hang and returns the expected response. The issue does not occur for all of our requests because we also have examples of post request scripting that do not hang.

rangav commented 5 months ago

Hi @TimWilsonQA

Can you please contact us using this form, We need to investigate the issue https://www.thunderclient.com/contact

rangav commented 4 months ago

closing this as it's fixed in v2.20.3