...
There are different ways to test the import.
Microsoft Visual Studio Code IoT Hub Extension
Microsoft Visual Studio Code has a IoT Hub extension that can be used to send Device to Cloud messages (D2C messages). See the following screenshot to see how to send a D2C message from the test client.