How to Avoid Increasing Monthly Active User Count With Test Users
This article explains how to manage test users without affecting the Monthly Active User (MAU) quota. When testing an application, creating and authenticating test users can increment the MAU count, potentially leading to unnecessary quota usage.
- Test User Accounts
- Monthly Active Users (MAU)
Test users are counted towards the MAU total as long as they successfully authenticate in the system. Each unique user who authenticates in a billing cycle contributes to the count.
To prevent test users from increasing the MAU count, create and delete users with the same user_id. Even with different email addresses, these users will only count as a single MAU.
The user_id can be set in the following ways:
-
Create users with the management API and include a
user_idvalue in the request. -
Create users with a custom database script where the
user_idcan be determined.
NOTE: The standard sign-up flow assigns a random user_id and will not prevent an increase in the MAU count.