Preparations
POSTMAN DEVICE SIMULATION TOOL DOWNLOAD
POSTMAN is an interface debugging and testing tool that supports HTTP protocol, its main features are powerful, simple to use and easy to use. Whether developers do interface debugging or testers do interface testing, POSTMAN is one of the preferred tools.
https://www.postman.com/
The platform creates a virtual appliance
Create a direct attach test product
prompt
The test product model can be customized, and this creation of the TSL model is an example.
Create a direct-attached test device
prompt
If you don't have an organization, you can add a new organization.
Simulate HTTP device access
Fill in the tool parameters
prompt
If the tool shows a connection failure, check if the credentials are consistent.
note
The server address and port used in the test need to be filled in according to the actual situation.
Test the access effect
prompt
The test data must be in JSON format.
http://139.198.106.153:8081/api/v1/ygeng0U1Nn5WqLB1ARPl/telemetry
{"test":"testdata"}
note
The key that passes the data must conform to the TSL identifier, and if it does not, it cannot be displayed on the platform.