edgexfoundry / device-rest-go

Owner: Device WG
Apache License 2.0
17 stars 46 forks source link

Support How to test device-rest ? #271

Open SavantEVO opened 1 year ago

SavantEVO commented 1 year ago

How to test device-rest? When I read Testing/Simulation and used Postman to test but did not send the request. [Thank you] Picture1: Use Postman to POST http://localhost:59986/api/v2/resource/sample-json/json

image

Picture2: Check device-rest Status is UP

image
cloudxxx8 commented 1 year ago

You can check whether the core-data recevies the Event or subscribe the topic from message bus (Redis pub/sub by default) to see whether the Event is sent out.