New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test works when run independently, but hangs when run in a collection. #407
Comments
Hi @SiJiL82 thanks for reporting the issue. Try restarting vscode and run collection. |
Hi @rangav - still getting the same thing. |
Oh ok, can you try locally first without WSL? It could be WSL issue |
Just tried in a local VSCode (new copy of the code, so not running from the repo in the WSL file structure) and get the same results. |
I have observed this as well. A workaround is to close the run-all tab and re-open it. |
Hi guys, can anyone share sample collection that can reproduce the error, for my testing? You can remove any sensitive data |
Hi guys, do you still have this issue, I have released a new update |
I'll try and find the API and tests I was using, it was part of a course I was doing before xmas! |
This bug is now fixed in v1.11.0 please let me know if any feedback |
Apologies for the delay in feedback - this does appear to be working from my observations so far. One thing I did notice is that for one request I have a test that expects the response code to be 400, but is now failing because according to TC it is 404. The actual response is indeed 400. |
@jwmickey thanks for confirming can you try re-run 1 or 2 times, sometimes it could be network issues |
To be clear, I am *expecting* the response to be 400. I tried it several
times and got back a 404. The ones where I expect a 200 are still 200.
…On Wed, Jan 26, 2022 at 11:19 PM Ranga Vadhineni ***@***.***> wrote:
@jwmickey <https://github.com/jwmickey> thanks for confirming
can you try re-run 1 or 2 times, sometimes it could be network issues
—
Reply to this email directly, view it on GitHub
<#407 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADBZ2CJI36U3Z5RAP5LMH3UYDBWBANCNFSM5JCFMOVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@jwmickey thanks for clarification when you run that request independently are you getting 400 or 404? |
I apologize @rangav, it is not 404. The first run it shows "Error" for StatusCode. Then I ran it independently and it showed 400 and the test passed. Then run in collection worked as expected. |
No problem @jwmickey good that it’s working now. whenever there is error in run collection, mouse hover on |
I have a very basic request for an API tutorial, it just passes a JSON body to the API and gets a JSON object back as a response:
I've added this to a collection, and if I run it independently by clicking it in the collection so it opens and click Send, it runs fine - returns instantly.
If I click "Run All" on the collection however, it hangs on the request- the StatusCode column just spins and never comes back.
The request has run - I can manually call the Sign In request in another tab and that then responds correctly, but the Thunder Client UI never comes back from the request:
It seems to be doing it for any POST request, the GET I've done worked fine.
Is there something I need to do to the collection config or the requests themselves that I need to do to get it working?
The text was updated successfully, but these errors were encountered: