-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
2.2.8
-
None
-
Linux
There are, essentially, 3 POST parameters required to perform a login to an application for which we need web scenario metrics. The parameters are as follows:
__EVENTTARGET=slnAccessControl$LoginUC$SBLoginSection$btnSignIn
slnAccessControl$LoginUC$SBLoginSection$txtUserName=<userId>
slnAccessControl$LoginUC$SBLoginSection$txtPassword=<password>
I have tried to enter the above 3 parameters in the POST parameter entry textbox in the Zabbix UI as follows:
__EVENTTARGET=slnAccessControl$LoginUC$SBLoginSection$btnSignIn&slnAccessControl$LoginUC$SBLoginSection$txtUserName=<userId>&slnAccessControl$LoginUC$SBLoginSection$txtUserName=<userId>
Note that no "?" precedes the first paramter "__EVENTTARGET" because I make the assumption that Zabbix automatically adds the "?" preceding the first POST parameter on the URL. [In any event, I also tried it with the "?" and it still did not work].
We currently use a Perl script with the "Mechanize" Perl class to send in these POST parameters to login to our application and it works fine. However, I cannot get a Zabbix web scenario with these parameters to work. The initial GET for the login screen works fine, but the POST submission of the login form with the 3 POST parameters fails with a 404.
Am I using the POST parameters properly in the UI?