Skip to contentPlayForge
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.

  1. Mocking APIs in UI Tests
  2. Network Interception & API Mocking
  3. Recording and Replaying Traffic with HAR
  4. Build: A Mocked Error State
See what a full account includes

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