Free Your Frontend Client from Backend Cage
summary
Builds a local WireMock standalone server and swaps the app to WireMock standalone so the weather UI talks to localhost, not the third party. Creates JSON stubs like currentweather.json and differentweather.json and uses them to simulate a thunderstorm with −19°C, corrupt types (abcd) and missing sunrise/sunset to expose bugs, add fixedDelay 9000ms to test slow APIs, and return a 500 error to observe crashes. Automates a Selenium check against the stubbed description and it passes. Source and mocks are published for reuse.
AI-written summary · about
chapters (6)
- 0:00Start
- 22:58Invalid responses
- 26:00API responsiveness
- 27:52Errors and faults
- 30:22API not ready
- 33:55Does it replace end to end testing?








