Hey.
I am looking to be able to monitor API's similar to the way the Web Monitoring works where you can do scenarios, but through an API like following steps like "Login", "Data Query", etc... that way we can validate an API is working correctly... I looked and tried using web monitoring, but you can only pass raw or form data and not json data..
i tried posting the json data but it did not work for me. Taking the Actual Zabbix API for example, which is what im testing with you need to post the below, but that is not possible in Web Monitoring.. I know you can add a HTTP agent that posts json data, but was wondering can that same feature be added to the web. This way it gives that area more power in monitoring more web services, like an API.
Example:
Step 01 - Login (Ability to post that data and return the auth token)
{
"jsonrpc": "2.0",
"method": "user.login",
"params": {
"user": "user",
"password": "password"
},
"id": 1,
"auth": null
}
Basically exactly like the web scenario steps are done for Zabbix web, but for an API.
Thanks
Colum
I am looking to be able to monitor API's similar to the way the Web Monitoring works where you can do scenarios, but through an API like following steps like "Login", "Data Query", etc... that way we can validate an API is working correctly... I looked and tried using web monitoring, but you can only pass raw or form data and not json data..
i tried posting the json data but it did not work for me. Taking the Actual Zabbix API for example, which is what im testing with you need to post the below, but that is not possible in Web Monitoring.. I know you can add a HTTP agent that posts json data, but was wondering can that same feature be added to the web. This way it gives that area more power in monitoring more web services, like an API.
Example:
Step 01 - Login (Ability to post that data and return the auth token)
{
"jsonrpc": "2.0",
"method": "user.login",
"params": {
"user": "user",
"password": "password"
},
"id": 1,
"auth": null
}
Basically exactly like the web scenario steps are done for Zabbix web, but for an API.
Thanks
Colum