Ad Widget

Collapse

Web Monitoring - save Variable in Step 1 and use it in Step 2

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kajaaj
    Junior Member
    • Mar 2024
    • 4

    #1

    Web Monitoring - save Variable in Step 1 and use it in Step 2

    I am trying to monitor a webpage in two steps. In Step 1 I have to save a generated token and in Step 2 I have to use this token to log in to website.

    I am trying to do as is written here: https://www.zabbix.com/documentation...toring/example --> with regex:name="csrf-token" content="([0-9a-z]{16})"

    But the problem is, that in the Step 1 I only have an empty page with string which I have to save in variable, so I can not use - regex: name="" content="" - as is stated above.

    How can I save this string in variable to use it in Step 2?

    Click image for larger version  Name:	grafik.png Views:	23 Size:	7.0 KB ID:	480371
  • Answer selected by kajaaj at 12-03-2024, 16:08.
    kajaaj
    Junior Member
    • Mar 2024
    • 4

    Found the solution:

    regex: (.+) worked for me

    Comment

    • kajaaj
      Junior Member
      • Mar 2024
      • 4

      #2
      Found the solution:

      regex: (.+) worked for me

      Comment

      Working...