15 ms·
What does this do that I can't do with mitmproxy?
by imiric 1y ago
What does this do that I can't do with mitmproxy?
- bilekas 1y agoYou would need to add your own validation (determining deviations) into your mitm proxy. It's a testing framework that seems to want to streamline multiple streams of api testing. It's not reinventing the wheel, but it doesn't claim to either. Looks like a nice tool, will check it out later when I get a chance.
- Marceltan 1y agoAlso yes, appreciate you calling this out. The deviation classification after replay + automated RCA for unintended deviations is another differentiator. Let me know if you have feedback when you get time to explore.
- Marceltan 1y agoFair shout. Our instrumentations (https://github.com/Use-Tusk/drift-node-sdk?tab=readme-ov-file#requirements https://github.com/Use-Tusk/drift-node-sdk?tab=readme-ov-fil...) hook directly into pg, mysql2, ioredis, firestore, etc., at the library level. We capture the actual DB queries, Redis cache hits, JWT generation, and not just the HTTP calls (like you would see with mitmproxy), which lets us replay the full request chain without needing a live database or cache. This way each test runs idempotently.