News for hackers. Stuff that matters.

freetimeparadox

Re:How do you test multiple API payloads and edge cases? on Thursday December 11, 2025 @06:47AM (#46230217)
That looks interesting. I will give it a try.

How do you test multiple API payloads and edge cases?

I’m building a mobile app and need to reliably test different API payloads and failure scenarios. Ideally, I want to switch between payload variations on the fly and immediately see how the UI reacts. I’ve used Charles and some in-code mocks, but these approaches don’t scale well for dozens of repeatable scenarios.How do you typically handle this? Mock servers, custom tooling, contract tests,...

( Read More... | 3 comments | 2 points | on HN )