> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-user-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Test users

The 'Test Users' feature allows marketers to build and organize test groups and provide insights into the SDK or API logs available from a test device during SDK integration testing. Once a user is marked as a test user, their data will be processed in near real time to allow you to test your data tracking in Moengage. You can view the data tracked for test users in user profile and recent events.

You can mark up to 1000 users as test users.

# Steps

## Add new test users

1. Go to Test and Debug at the bottom of your sidebar

<img alt="Screenshot_2022-03-07_at_9.15.24_AM.png" src="https://mintcdn.com/moengage-user-guide/37ccD5gdAdeo5pER/images/moengage_d53ed7.png?fit=max&auto=format&n=37ccD5gdAdeo5pER&q=85&s=defcfa035153afd2c03abc097497efbd" width="372" height="304" data-path="images/moengage_d53ed7.png" />

2. Click "+ Test user " on the top right to mark users as test users.

<img alt="Screenshot_2022-03-07_at_9.24.55_AM.png" src="https://mintcdn.com/moengage-user-guide/bJLqVfYJ9gjNIQJ6/images/moengage_38a5b9.png?fit=max&auto=format&n=bJLqVfYJ9gjNIQJ6&q=85&s=22ee29c8838808d88a72360ad091a61c" width="450" height="170" data-path="images/moengage_38a5b9.png" />

3. You can either mark all the users in the [custom segment](/user-guide/segment/segment-operations/custom-segments) as Test users or select one or more specific users.

<img alt="Screenshot_2022-03-07_at_9.25.47_AM.png" src="https://mintcdn.com/moengage-user-guide/o-R_Ot8gzngW4Fxh/images/moengage_a30341.png?fit=max&auto=format&n=o-R_Ot8gzngW4Fxh&q=85&s=5fb50facd0b3c81c22742e955ab7b705" width="890" height="746" data-path="images/moengage_a30341.png" />

3. a) **Select custom segment**\
   i) If you want to mark all users from a custom segment, click on the "Select custom segment" card.

   ii) Select your desired custom segment from the drop-down.

   iii)You can also run a query to see the count of the users in the selected segment.

   iv) Click on *Mark as Test* to mark these users as test users.

Note: Anonymous users in the custom segment will not get added as test users since they do not have Client ID / UID. You can add anonymous users as test users via GAID

<img alt="Screenshot_2022-03-07_at_9.29.21_AM.png" src="https://mintcdn.com/moengage-user-guide/d5wSgl3CPeryQPua/images/moengage_ef8a5c.png?fit=max&auto=format&n=d5wSgl3CPeryQPua&q=85&s=3e714c6e3c434d4fb954d2fa7c6f9ab6" width="1008" height="768" data-path="images/moengage_ef8a5c.png" />

**3. b) Select users**

i) Click the "Select users" card if you want to mark some selected users as test users.

ii) You can select one of the user identifiers from the drop-down.

iii) Enter user detail or a comma-separated list in case of multiple users.

iv) Click on *Mark as Test* to mark these users as test users.

Note:

1. When we add via **Client id**, the users are added as "Test User", thus their device ID is not shown in the Test Users dashboard ( where all test users are displayed)

2. When we add via **GAID**, the devices are added as "Test Device". On the test users' dashboard, both users and device details are shown.

<img alt="Screenshot_2022-03-07_at_9.33.07_AM.png" src="https://mintcdn.com/moengage-user-guide/kZdfguDCqaZRvIX4/images/moengage_0a374f.png?fit=max&auto=format&n=kZdfguDCqaZRvIX4&q=85&s=ced451f57d2a8e5a130ff4f9dfd37059" width="1000" height="956" data-path="images/moengage_0a374f.png" />

4. Once you click on 'Mark as test', users in the selected segments or selected users would be marked as Test users. And you will see the user details in the slide-out.

<img alt="Screenshot_2022-03-07_at_9.41.31_AM.png" src="https://mintcdn.com/moengage-user-guide/-3vSwXDB0-23wJct/images/moengage_b4e286.png?fit=max&auto=format&n=-3vSwXDB0-23wJct&q=85&s=56fc80831a58c1e93cbe45ac21c734d5" width="754" height="1036" data-path="images/moengage_b4e286.png" />

Note - In case some of the users failed, you will see the failure details in the same slide-out. <img alt="Screenshot_2022-03-07_at_9.50.17_AM.png" src="https://mintcdn.com/moengage-user-guide/V7vjAvRldhpYJVGL/images/moengage_dbf4c5.png?fit=max&auto=format&n=V7vjAvRldhpYJVGL&q=85&s=3740393df10c45bd9c72346af2790322" width="934" height="594" data-path="images/moengage_dbf4c5.png" />

## Mark test users from the user profile

If you are already on a user profile and want to mark that user as a Test user, click *mark as a test user* on the top right.

Note: Only registered users can be added as a "Test User" from the user profile page, not the anonymous user.

<img alt="Screenshot_2022-03-07_at_9.45.16_AM.png" src="https://mintcdn.com/moengage-user-guide/vPfPLgXbaQgu3u5z/images/moengage_139a76.png?fit=max&auto=format&n=vPfPLgXbaQgu3u5z&q=85&s=f5f84b15e77c827eeed6ef9d9cbf66da" width="1704" height="700" data-path="images/moengage_139a76.png" />

<img alt="Screenshot_2022-03-07_at_9.48.48_AM.png" src="https://mintcdn.com/moengage-user-guide/hUID4EO32ynRZRw7/images/moengage_e43fbe.png?fit=max&auto=format&n=hUID4EO32ynRZRw7&q=85&s=aaf5b755b27eebd4fc2feb38fc265b2f" width="1426" height="620" data-path="images/moengage_e43fbe.png" />

## Access test users

1. Go to Test and Debug at the bottom of your sidebar

2. The page will show the details of all the test users.

<img alt="Screenshot_2022-03-07_at_9.21.35_AM.png" src="https://mintcdn.com/moengage-user-guide/lhXvdjtPtl1U-hcS/images/moengage_95d2a6.png?fit=max&auto=format&n=lhXvdjtPtl1U-hcS&q=85&s=2fe4bfd8be9fce7d0c4f67056176e9c9" width="2008" height="964" data-path="images/moengage_95d2a6.png" />

### Access user profile

You can click on the MoEngage user id to go to the user profile page.

### View recent events

1. Once you select one or more users, you will see an option (just below the search bar) to see the recent events for the selected users. Click *View recent events*.

Note: We can select up to 5 users and view recent events of those users.

<img alt="Screenshot_2022-03-07_at_9.39.04_AM.png" src="https://mintcdn.com/moengage-user-guide/21Ihfdzne33T-IUl/images/moengage_077b19.png?fit=max&auto=format&n=21Ihfdzne33T-IUl&q=85&s=99d3fbefccf72d566d211b4130227aa8" width="1262" height="402" data-path="images/moengage_077b19.png" />

2. The slide-out will show the recent 10 events for the selected users. Note: In the slide-out, we show a maximum of 10 events( of the last 24 hours) for each user.

<img alt="Screenshot_2022-03-07_at_9.40.08_AM.png" src="https://mintcdn.com/moengage-user-guide/yA9P52ya52R36jSe/images/moengage_094910.png?fit=max&auto=format&n=yA9P52ya52R36jSe&q=85&s=98a8460f4fed914d4ed01ce63553f638" width="1500" height="720" data-path="images/moengage_094910.png" />
