Tags: keploy/keploy
Tags
feat: synchronous mocking relative to test cases (#3403) * fix: fixed sync recording by dialing server sequentially Signed-off-by: kapish <upadhyaykapish@gmail.com> * chore: improved code quality, removed commented code Signed-off-by: kapish <upadhyaykapish@gmail.com> * chore: added comments and removed print statement Signed-off-by: kapish <upadhyaykapish@gmail.com> * chore: synchronous mock recording with test case Signed-off-by: kapish <upadhyaykapish@gmail.com> * chore: synchronous json bson correction Signed-off-by: kapish <upadhyaykapish@gmail.com> * chore: addressed review comments and improved code clarity Signed-off-by: kapish <upadhyaykapish@gmail.com> * chore: improve code quality Signed-off-by: kapish <upadhyaykapish@gmail.com> --------- Signed-off-by: kapish <upadhyaykapish@gmail.com> Signed-off-by: Kapish Upadhyay <92024461+kapishupadhyay22@users.noreply.github.com>
fix: url templatize in case of encoded string (#3373) * fix: url templatize in case of encoded string Signed-off-by: kapish <upadhyaykapish@gmail.com> * fix: url templatize in case of encoded string in grpc Signed-off-by: kapish <upadhyaykapish@gmail.com> --------- Signed-off-by: kapish <upadhyaykapish@gmail.com>
fix: noise filteration for nested fields and report noise detection (#… …3312) * fix: noise filteration for nested fields and report noise detection Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> * fix: noise filteration for nested fields in grpc and common util func Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> * fix: add debug logs for grpc global noise filteration Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> * fix: skip the noise instead of removing it Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> --------- Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
fix: mysql prepare statement id mapping (#3301) * fix: stmt collision for different queries on same connection * fix: no matching in stmt execute if query matching is not there Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> * chore: add debug logs Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> * chore: add debug logs Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> * fix: updating modified mock issues for stmt-prep-ok response Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> * chore: consumed logs will print for each test result Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> * debug: mock manager issue with app restart Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> * chore: remove unnecessary code Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> --------- Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
chore: cherry-pick transfer-encoding fix to v2 (#3304) * fix(http): make Transfer-Encoding detection case-insensitive The HTTP response decoder was checking for "Transfer-Encoding: chunked" using a case-sensitive substring match on the raw header block. Some upstream services (e.g. the Java-based config service) emit "Transfer-encoding: chunked", which caused our code to skip the chunked-body handling path entirely and treat the response as if it had no proper body. As a result, Keploy would: - only capture the headers in the reconstructed response buffer - log "failed to read the http response body: unexpected EOF" in Capture - save testcases with empty or truncated response bodies for those endpoints The fix normalizes header names before checking for transfer-encoding, so both "Transfer-Encoding" and "Transfer-encoding" (and any other case variants) correctly trigger chunked-response handling. Signed-off-by: Anju Pathak <anjupathak9810@gmail.com> * Improve chunked response handling in chunk.go Refactor logic for handling chunked responses in HTTP. Signed-off-by: Anju <168076172+anjupathak03@users.noreply.github.com> --------- Signed-off-by: Anju Pathak <anjupathak9810@gmail.com> Signed-off-by: Anju <168076172+anjupathak03@users.noreply.github.com>
PreviousNext