Postman allows you to automate the process of testing an application, API or SDK.
Download and install Postman software.
Also, download the ready-made collection of requests TrassirPostman_en.postman_collection
Postman setup
- Import the downloaded request collection, for this:
- Import → Choose Files → Specify the path to the downloaded collection → Open
- If successfully added, example requests will appear in the left part of the Postman window
- Import → Choose Files → Specify the path to the downloaded collection → Open
- Before you start working with queries, you need to create global variables, they are needed to automate the testing process, for this:
- Enviroment quick look → Globals → Edit
- Add the following variables:
ip - ip address of the server to which the SDK requests will be executed
PassSDK - SDK password (required to get SID session)
User - username
PassUser - user password
ChanelGUID - GUID of the required channel
OperatorGUI - OperatorGUI
ChanelGUIDPTZ - Channel GUID with PTZ support
The values of the variables (ChanelGUID, OperatorGUI, ChanelGUIDPTZ) will be added later. - When the changes are completed, click Save.
- Enviroment quick look → Globals → Edit
- The final step in the configuration is to disable certificate verification:
- Settings → SSL certificate verification → OFF
- Settings → SSL certificate verification → OFF