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

# How to Test Huawei Messaging Service for Push Amplification™ Plus post configuration of the same

> Test Huawei Messaging Service (HMS) for Push Amplification Plus after configuring it in MoEngage. Verify setup on Huawei devices with EMUI support.

After integrating HMS in the application and configuring your account in the MoEngage dashboard as mentioned [here](/developer-guide/android-sdk/push/optional/push-amp-plus/configuring-huawei-push-on-mo-engage), please check the guidelines and steps highlighted in this article for verification

**Pre-conditions for testing HMS**

* Huawei Android devices having EMUI version

## Steps to be carried out to verify HMS

Create a campaign on the MoEngage dashboard by selecting the environment i.e TEST/LIVE on the basis of build.

1. Engage->Campaigns-> Create Campaign->Push Campaign

<img alt="Screenshot_2022-09-20_at_11.45.39_AM.png" src="https://mintcdn.com/moengage/B1ZqBU-ISgaoSx_O/images/moengage_5286d6.png?fit=max&auto=format&n=B1ZqBU-ISgaoSx_O&q=85&s=5ee396ad17f22b5e96f0224122f354c9" style={{ width:"42%" }} width="539" height="979" data-path="images/moengage_5286d6.png" />

2. Create a general campaign

Go to Segmentation > Select Platform *Android*> As soon as you do that, you will see the option to choose whether to send the campaign using Push Amplification™ Plus. Please click [here](https://www.moengage.com/docs/developer-guide/android-sdk/push/optional/push-amp-plus/configuring-huawei-push-on-mo-engage) for information about creating a general push campaign.

<img src="https://mintcdn.com/moengage/rlD8iAX6JQFx0hql/images/moengage_baa7d9.png?fit=max&auto=format&n=rlD8iAX6JQFx0hql&q=85&s=0de8f5c0a6ba2d2ebdcca14df52cce05" alt="Screenshot_2022-09-20_at_11.43.08_AM.png" style={{ width:"62%" }} width="1689" height="723" data-path="images/moengage_baa7d9.png" />

<img src="https://mintcdn.com/moengage/-X0av6ek9AEOUtsy/images/moengage_c80953.png?fit=max&auto=format&n=-X0av6ek9AEOUtsy&q=85&s=58d38be71e333211e0a67c77e2aaca4a" alt="Screenshot_2022-09-20_at_11.49.50_AM.png" style={{ width:"62%" }} width="1625" height="931" data-path="images/moengage_c80953.png" />

3. Click on the TEST CAMPAIGN button to target your device by selecting any of the below attributes to identify the user for testing as shown below.

The identifier could be any device identifier (like Google Advertising Id, push\_id) or any user identifier like ID, Email Id, Mobile Number, and so on. Please ensure that the properties are set for your user in MoEngage before you use these for the test campaign.

<Note>
  If you are testing HMS notification using device push token, please make sure the token used for testing should be of FCM not HMS Push Token.
</Note>

<img src="https://mintcdn.com/moengage/S5VM4C7aiU6sct6c/images/moengage_020032.png?fit=max&auto=format&n=S5VM4C7aiU6sct6c&q=85&s=196947c0cbe636aa31937aa27f2ca0a3" alt="Screenshot_2022-09-20_at_11.54.42_AM.png" width="693" height="130" data-path="images/moengage_020032.png" />

4. Once push is received by the app, click on Notification and after that, click on the user as mentioned below and wait for some time(2 to 3 minutes).

<img src="https://mintcdn.com/moengage/Vec55CKt-wYQ1h5L/images/moengage_43b443.png?fit=max&auto=format&n=Vec55CKt-wYQ1h5L&q=85&s=26fd69acc5f7da2f3ee5bbe6abbad9c9" alt="image6.png" width="1902" height="932" data-path="images/moengage_43b443.png" />

5. To identify push is delivered via HMS, click on the event **Notification Clicked Android** and check for source key with value as **hmsPush** as shown below. This confirms Push is sent via HMS.

<img src="https://mintcdn.com/moengage/wIFGWsQFEjsz2j4v/images/moengage_e19a32.png?fit=max&auto=format&n=wIFGWsQFEjsz2j4v&q=85&s=f62277edfdadc5fc71bdc88f19eb68a0" alt="image7.png" width="2140" height="596" data-path="images/moengage_e19a32.png" />

If the Source Key is not visible, please refer to this [link](https://www.moengage.com/docs/developer-guide/android-sdk/push/optional/push-amp-plus/configuring-hms-push-kit) to verify if the integration steps are completed as per the documentation.
