Hi !
On HM7.18:
I'm setting up a URL test to see how much times it takes before a page loads.
I't a simple URL test and the reply is shown i ms.
Now, I would like HM to alarm someone if the load time is higher than e.g. 500ms, so I've set up an alarm profile in advanced mode with the expression (%Reply%>500).
As far as I can tell from the documentation replies shown in ms are treated like numbers so I suppose this should be okay.
However, nothing happens using this expression - can you help me with this one ?
The rest of the setup should be okay because if I change the expression to (1==1) everything works fine and I get the expected results.
Thanks in advance !
Kasper
Trouble with %Reply% less than ...
They are treated as numbers when you are using quotation marks ''. E.g. '500 ms' or '500 GB' will be checked as numbers. While 500 ms (without quotes) is treated as 2 different lexemesAs far as I can tell from the documentation replies shown in ms are treated like numbers
In other word - you forgot to put ''
Correct expression is ('%Reply%'>500).
Regards
Alex