Skip to content

Commit 2897226

Browse files
slayerjainclaude
andcommitted
fix(sap-demo-java): suppress elapsedMs noise on replay
Keploy's HTTP recorder now persists upstream timeouts as synthesized 504 mocks with the original reqTimestamp (see task #185). On replay the mock is served instantly (millisecond-level elapsedMs) while the recorded response captured real ~26s SAP network latency, so body-diff on elapsedMs continues to fail test-16. Add elapsedMs: [] under globalNoise.global.body to suppress the diff. Note: the existing timestamp: [] entry does not cover this — timestamp and elapsedMs are distinct fields on different response objects, so an explicit entry is required for the synthesized-mock flow from #185. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: slayerjain <shubhamkjain@outlook.com>
1 parent 9164f98 commit 2897226

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sap-demo-java/keploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ test:
3434
# connectivity is already proven by every downstream test
3535
# that hits the persistence layer successfully.
3636
status: []
37+
elapsedMs: [] # new — replay serves instantly; record captured real network latency
3738
test-sets: {}
3839
replaceWith:
3940
global:

0 commit comments

Comments
 (0)