Unable to monitor Synthetic web Transaction
Posted: Tue Oct 26, 2021 3:36 am
hi Experts,
I am trying to add one of our nagios server for the web transaction monitoring and using below XML for webinject but getting it failed.
testdata.xml:
<testcases repeat="1">
<case
id="1"
url="https://nagiosxi.dev.com/nagiosxi/login.php"
verifyresponsecode="200"
errormessage="Cannot load Nagios XI page"
/>
<case
id="2"
description1="Sign in"
url="https://nagiosxi.dev.com/nagiosxi/login.php"
method="post"
postbody="username=admin&password=Admin123"
verifypositive=' "Nagios" '
logrequest="yes"
logresponse="yes"
errormessage="Nagios login not successful"
/>
</testcases>
==============================
could you please let me know where did i go wrong in the XML config to check the nagios page loading and able to login with the username/password.
note: followed the article: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
TIA.
I am trying to add one of our nagios server for the web transaction monitoring and using below XML for webinject but getting it failed.
testdata.xml:
<testcases repeat="1">
<case
id="1"
url="https://nagiosxi.dev.com/nagiosxi/login.php"
verifyresponsecode="200"
errormessage="Cannot load Nagios XI page"
/>
<case
id="2"
description1="Sign in"
url="https://nagiosxi.dev.com/nagiosxi/login.php"
method="post"
postbody="username=admin&password=Admin123"
verifypositive=' "Nagios" '
logrequest="yes"
logresponse="yes"
errormessage="Nagios login not successful"
/>
</testcases>
==============================
could you please let me know where did i go wrong in the XML config to check the nagios page loading and able to login with the username/password.
note: followed the article: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
TIA.