Ad Widget

Collapse

How to press a button in a Web Monitoring?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dickinson
    Member
    • Oct 2010
    • 44

    #1

    How to press a button in a Web Monitoring?

    Hi, i've googled for this but I havent found help. What I need is to know how I can press a button in one step in Web Monitoring. The explanation: the app I need to monitor has three bottons and one text box. My step consists in put some text and press an specific button. The "enter" doesn't work.

    I'm sure that this question may be useful to many people.

    Thanks from colombia
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It really depends what happens when you press the Enter button. If it just go to a different URL with a number of GET or POST variables then you can monitor it by Zabbix, no problem.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • dickinson
      Member
      • Oct 2010
      • 44

      #3
      The page simply perform a test of the response of a web service. I atach an image of the page, may be it helps.

      My question would be how can "press" the second button (see image) using post method, or something like this?

      Note: When you access the page, the focus is in any button.
      Attached Files
      Last edited by dickinson; 16-03-2011, 15:41.

      Comment

      • dickinson
        Member
        • Oct 2010
        • 44

        #4
        Please any idea? I also tried using the "id" of each control, I saw the source code of the html page, but the time zabbix reports is not real.

        I know you can help me

        Comment

        • khiri
          Junior Member
          • Feb 2005
          • 7

          #5
          What is the URL after you click the button? Can you just monitor that?

          Originally posted by dickinson
          Please any idea? I also tried using the "id" of each control, I saw the source code of the html page, but the time zabbix reports is not real.

          I know you can help me

          Comment

          • dickinson
            Member
            • Oct 2010
            • 44

            #6
            guess I Solved

            After reading too much about curl and html POST method, i used wireshark to identify what my browser exactly sends in POST. Then I used a firefox addon called Tamper Data to collect the data and see clearly the post variables. And BINGO!.. A variable that the app uses was missing. I added in the POST box of the step and seems to work. I'm doing final checks..but i thing I see the light at the end of the tunnel..

            Comment

            Working...