Ad Widget

Collapse

Web scenario with unique authid?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    Web scenario with unique authid?

    Hi there!

    I try to create a web scenario to simulate a login and logout of a user at a site with the community software Zikula.
    My problem is that not only the username and the password are needed. The login form posts a hidden field with an unique authid. This authid has to be posted together with user and pass.

    Is it possible to read a given value from a web response and then putting it into the login form?

    Thanks in advance ...
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Unfortunately not.
    Web scenarios support only constant get and post request.

    Comment

    • dtedesc1
      Junior Member
      • Feb 2014
      • 10

      #3
      Available with 2.2

      Posting this in case anyone else has the same problem and comes across this post.

      This is available in Zabbix 2.2, using the Variables feature in your first step define:

      {authid}=regex:name="authid" value="([^"]*)

      (or whatever 'name'/'id' matches it in the html.)

      Then you can use {authid} in Step 2 as a post variable.

      Comment

      Working...