gavv / gavv/httpexpect

Retry policy cannot inspect response body when printers are enabled

Open
#477 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.7k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

When response printers are enabled, printing the response consumes its body before the retry policy evaluates it.
As a result, retry conditions that inspect the response body may fail to trigger.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with response printers enabled and a retry condition that inspects the response body. Trace the response-printing and retry-evaluation paths, then add coverage showing that body-based retry conditions still work after printing; done means the existing behavior is preserved with printers enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.