Ad Widget

Collapse

Web scenarios (dinamic generated data)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • juisjuis
    Junior Member
    • Sep 2010
    • 1

    #1

    Web scenarios (dinamic generated data)

    Hi all.

    I have a question about web scenarios that I guess is not covered yet by zabbix, or correct me if I'm wrong.

    When I define a scenario for a web transaction monitor, I can define macros in a static way for example (at scenario level):
    ${Name}=joe
    ${Surname}=smith

    to be used in the any of the steps that conforms the scenario.

    That is fine, but I guess a quite good addition would be the following....

    Imagine that there is some data that need to be posted in some (stepN on zabbix) but that data is sent by the web application when accessing to some other step (step1..N-1 in zabbix). So is only known at the time of the scenario execution.

    I guess that feature could be implemented in zabbix using regex in the matching content process and creating a macro dinamically in memory in execution time.

    For example,if we set a content match represented by a regex and the content sent by the server to zabbix for that step, is possible to store that matched content temporarily in memory to be used as a macro in one of the following steps.

    That would be a HUGE step for zabbix web monitoring scenarios from my point of view and in the precise part, zabbix would catch the level of a VERY EXPENSIVE tools that only advantage they have is this thing implemented.

    Let me know you opinion...
  • danrog
    Senior Member
    • Sep 2009
    • 164

    #2
    Until something like this is baked in, take a look at webinject. Its a pretty powerful Perl based synthetic web app test tool. It allows you to do exactly what you are talking about. What we do, is have this sit on a few distributed systems globally and have it run through a series of app tests and send back the results to each step via zabbix_sender (this allows us to get around the web scenario zabbix_proxy issue but yet still integrate it with zabbix nicely). The only downside I've seen for our purposes is that it doesn't act like a full on browser (i.e. downloading images, css, js, etc...) but since its perl and uses LWP, it might be fairly trivial to extend it to include downloading these things.

    Latest Download: http://github.com/sni/Webinject/downloads
    Latest Forum: http://groups.google.com/group/webinject?pli=1

    Comment

    Working...