Ad Widget

Collapse

Web monitoring test login problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trazodone
    Junior Member
    • Feb 2012
    • 1

    #1

    Web monitoring test login problem

    Hello,

    I have a problem on web monitoring scenario step. I followed Zabbix user's manual. In web scenario login step I use command
    "user={user}&password={password}&enter=Enter"
    This command success login on localhost(zabbix) but when I try on other host it is not success. I am wondering on "enter=Enter" it came from html source code of Zabbix login page as
    "<input type="submit" name="enter" id="enter" class="button" value="Enter"/>"
    I understood that "id=value" and became "enter=Enter"

    On my other login page is
    "<input type="submit" class="button" value="Login" name="submit"/>"
    There is no "id" so I tried many condition such as

    submit=Login
    submit=Enter
    enter=Enter

    But all of these not working.

    The question is what should I do to create web scenario login with kind of web page that has no "id" on button object?

    Thank you very much.
  • Andrius
    Junior Member
    • Sep 2013
    • 2

    #2
    Web monitoring test login problem

    Hello,

    I have the same problem!

    On my login page is

    <input class="button" name="submit" accesskey="l" value="Connect" tabindex="4" type="submit" />

    What should I do to create web scenario login with kind of web page that has no "id" on button object? What should I write instead "enter = Enter"

    Thank you very much!

    Comment

    • pinarella
      Junior Member
      • May 2013
      • 16

      #3
      name="submit"
      grab this one

      submit=Enter

      Comment

      • jeetusjeet
        Junior Member
        • Oct 2014
        • 13

        #4
        Hello,

        I understand the above step configuration for login step, but what should be in logging in step and logout step specified in real scenario?

        Some web application asks confirmation ("Are you sure want to log out"). How to deal with this?

        Comment

        • BDiE8VNy
          Senior Member
          • Apr 2010
          • 680

          #5
          I suggest to trace the GET/POST request as well as their response/output while manually doing the desired scenario with your Internet browser.
          Then you can identify the necessary requests and potentially needed parameters to define a Zabbix web scenario.

          My personal favorite Firefox add-on to do this is HttpFox.

          Comment

          • jeetusjeet
            Junior Member
            • Oct 2014
            • 13

            #6
            Unable to understand what should be use to configure Login step for Web scenario

            Hello,

            I am trying to configure Web monitoring for one of my web app. As per documentation, for Step 2 (Logging in), i am unable to find out what should be used in POST & variable. I used the below command to get some output using curl:

            curl -v \
            > --data 'ctl00$ContentPlaceHolder1$txtUserName=XXXX&ctl00$ ContentPlaceHolder1$TxtPassword=XXXX&ctl00$Content PlaceHolder1$btnLogIn=Sign In' \http://cabletvcrm.com/UserInterface1/SignIn.aspx



            And attached file is the output i got.

            Could someone please help me out on this.

            Thanks,
            Jitendra
            Last edited by jeetusjeet; 31-07-2015, 08:54.

            Comment

            Working...