How to Create Devices
How It Works
If you have a collection of integration tests for internal API testing with Postman, but also need to set up tests from outside the local network, you can upload the Postman tests to Dotcom-Monitor. Using the Postman Collection type of monitoring device you can create automated monitoring tests with alerting on errors that occurred while monitoring, specify monitoring locations, a monitoring scheduler, filters, and set up reporting on monitoring results. Additionally, there is a tutorial on Postman load testing available for detailed information.
The collection of requests will be repeatedly executed with the specified frequency to perform the sequence of calls to the target Web API. Herewith, the assertions that were specified for the requests in Postman will be used to verify API responses. If any condition set by assertions is not met the device will be marked as failed.
Before you begin the device configuration, prepare the Postman Collection to be imported to Dotcom-Monitor as described in Uploading Postman Collection to Dotcom-Monitor.
Configuring a Request
Once you have selected the Postman Collection type of monitoring device, you will be prompted to import a Postman collection and adjust the target settings.
Click Import and select a suitable option to upload the collection. You can upload the JSON file with the Postman collection or provide the public link to the collection (if it was published). The collection script will be displayed in the Collection Requests section.
An interval delay (in seconds) between each request in the collection. By default, we use the Delay time set in Postman Collection Runner. The вelay time is considered in the response time calculation.
The time interval in seconds the device should wait for the completion of requests and collection execution before ending the task and returning an error.
The time interval in seconds the device should wait for a response on a single request from the collection.