mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1996] [bug]: Tests don't run when request fails #645
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#645
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dsolay on GitHub (Dec 6, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1996
Originally assigned to: @AndrewBastin on GitHub.
Is there an existing issue for this?
Current behavior
When I make a request and the returned status code is 4.x.x or 5.x.x, the tests are not executed
Steps to reproduce
https://swapi.dev/api/peoplesTeststab and paste de following code:404but the tests are not executedEnvironment
Production
Version
Cloud
@AndrewBastin commented on GitHub (Dec 6, 2021):
Hi @dsolay,
I have pushed a patch, should be live in 5-10 minutes, please open Hoppscotch and perform an Update Reload and this issue should be fixed.
But we have noticed a small behavior inconsistency between the different strategies, in which without the extension or the proxy server, Hoppscotch doesn't try to process non-200 responses. We are tracking the issue internally and since we were planning to do a refactor of the entire Strategy system to align with our recent code standards. So until then Extensions and Proxy will only support 404 response data.