Ad Widget

Collapse

Zabbix Web Scenario Variables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abelian
    Junior Member
    • Nov 2019
    • 4

    #1

    Zabbix Web Scenario Variables

    Hi Folks, hope you are all having a good day.

    I've created a web scenario to login to an application. I'm doing the following

    Open Login page
    Save the auth token returned in the Login page body as a variable
    POST the login details - including username / password and the auth token

    The Login response returns an HTTP 422 (Malformed request). I've tried the same process (with the same regex) using JMeter it works, I've also got it working through Postman. I did need to tweak the URL encoding settings on Jmeter though.

    In order to debug this I'd like to be able to see the output of the variable I've captured, for example be able to put {variable} into the Step title or something so I can see what it's actually contained within it. Without this it's proving really hard to debug.

    Is there any way to see what is in a variable once you've stored a value in it?

    Any help would be gratefully received!
  • ZMS
    Junior Member
    • Nov 2020
    • 19

    #2
    hey there
    ive stumbled on your post here and i have a question
    im trying to do the login to an application just like you but i dont know how do i save the token that i get
    can you help me please?

    Comment

    • Abelian
      Junior Member
      • Nov 2019
      • 4

      #3
      Hey ZMS. I never found an answer I'm afraid, I gave up on Zabbix and wrote my own web scenarios using the Python Requests library. Sorry!

      Comment


      • ZMS
        ZMS commented
        Editing a comment
        ooh hehehe
        no problems thanks
    Working...