-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Here's the scenario:
- Today:
- Get access token (recorded).
- Get data with access token (recorded).
- Tomorrow:
- Get access token (replayed, same user).
- Get data with access token fails because of
401.
The problem here is that we replay a fixture for that expired access token, but the new data calls need a valid token.
A couple ways to remedy this:
- The easiest way is that the
normalizershould notdeleteany properties (e.g.sig, or possibly a date) that would replay old tokens for new requests. - The harder way is to re-record all previously replayed requests that share that same identity. (However, what will this mean for previously-recorded responses that depend on those headers?)
Metadata
Metadata
Assignees
Labels
No labels