Ad Widget

Collapse

Web Szenario - LogIn HTML Site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • novregen
    Junior Member
    • Jul 2013
    • 10

    #1

    Web Szenario - LogIn HTML Site

    Hi,

    has anyone success with this example ?



    I want to check login to html web site, but i dont know if i can realize it with
    this discription ?
    I configuratet in step two "user=Admin&password=mypassword&enter=Sign in"
    I got a Value 200 but looking to my logs I can say, there was no login.
    Zabbix Version is 2.0 , what about the macros ? I dont know what they should do ??
  • kargh
    Junior Member
    • Feb 2014
    • 21

    #2
    I assume you need to set the string properly for your website. The example is what is used to log into the Zabbix front end. It might be different on your website login.

    The macros are explained earlier on. In the scenario, you set the macros to your username and password. Then in the steps, you incorporate those macros into the URL string. When the web check gets to that step, it'll expand the macros and use them to log in..

    Comment

    • novregen
      Junior Member
      • Jul 2013
      • 10

      #3
      hi kargh,

      yes that is sure, I used my user an pw, but the fault was, I dont set
      the macros. now it work.

      Only thing, I can not find a "requiered string" and got the message
      "Requiered Pattern not found".
      After Login the WebPage shows data for the year 2014 and uses 2014 as heading, but zabbix can not find it.... no idea, I changed also to an other browser, other words from the page or put it in in this form "2014".... =:-(

      Comment

      • novregen
        Junior Member
        • Jul 2013
        • 10

        #4
        I think the issues are table. But I dont know really.
        Suddenly I find words from my login page, but not
        after login...

        Comment

        Working...