Act IIIChapter 24
chapter 24
24. Mocking the Network
Fake responses, simulate errors, and record and replay traffic.
12m read12m in total
Chapter film (about 7m) is coming.
4 more checkpoints in this chapter
This chapter is part of Standard, which opens at launch. Its lessons are listed below.
- Mocking APIs in UI Tests
- Network Interception & API Mocking
- Recording and Replaying Traffic with HAR
- Build: A Mocked Error State
Common questions
Practice
12 exercises attached to this chapter.
- fixMocking an unloaded page🔒 standard
- fixMocking a service worker🔒 standard
- locatorThe routed row🔒 elite
- locatorWhich transport answered🔒 elite
- locatorThe mode readout🔒 elite
- predictInterception: Service Workers🔒 standard
- predictInterception: Network Layer🔒 standard
- predictInterception: Direct Requests🔒 standard
- mcqAdvanced & Framework — quiz bank (4 questions)🔒 standard