Sign in Go Pro

MockWebServer

Verifying Server Requests

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next

Previous

About

Verify that our app sends the expected request to the server. This is very difficult to do with manual testing, but very easy with MockWebServer. In this lesson you will learn: - How to obtain a RecordedRequest from MockWebServer - How to verify the path of the request

Lessons in MockWebServer