Skip to content

← All questions

The API added a field — how do I re-record so the old entries stop coming back?

Asked 6,320 views3 answers

Backend renamed a field. I re-recorded:

bash
bun run sdods har record -p demo-shop -e staging -t @har:posts

The scenario passes now, but the file grew instead of being replaced, and the old response with the old field name is still sitting in there. I would rather not ship a recording that contains a payload the service can no longer produce. Is there a prune step I am missing?

asked by Nikhil Sane487 ·

3 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related