I'm writing integration tests for a Go program that queries a MongoDB cluster using Mongo Go Driver. I'd like to record those requests and later replay them in the tests.
Is there a library that I could use? I'm currently familiar with 2 similar libraries, but those are used for different purposes:
Any help would be appreciated. Thank you.