Can anyone suggest me any way to mock API response so that I can test my app?

This page summarizes the projects mentioned and recommended in the original post on /r/androiddev

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • OkHttp

    Square’s meticulous HTTP client for the JVM, Android, and GraalVM.

  • Have you tried https://github.com/square/okhttp/tree/master/mockwebserver?

  • json-server

    Get a full fake REST API with zero coding in less than 30 seconds (seriously)

  • Not a website but I've used https://github.com/typicode/json-server in the past.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Retromock

    Java library for mocking responses in a Retrofit service.

  • We developed Retromock for everyday easy usage. https://github.com/infinum/Retromock

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts