hi,
I would like an http test to set reply to seconds (or time) like this: xxx s
for now the reply looks like 53287 ms
I checked tune up Reply value and entered these:
[%Reply_Integer% div 1000] s
always returns 0s
[%Reply_Number% div 1000] s
makes an error: «Error in expression [0,00 div 1000]: unknown operator: "0,00"»
[%Reply% div 1000] s
makes an error: «Error in expression [ div 1000]: missed operand»
[%SuggestedReply% div 1000] s
makes an error: «Error in expression [ 52269 ms div 1000]: unknown operator: "ms"»
what should I do?
thanks
http test tune up value only return 0 or fails
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you try the following expression, please?
Regards,
Max
Code: Select all
['%SuggestedReply%' div 1000] s
Max
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Hi! thanks for the quick response!
actually, I already did after reading the previous post:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... highlight=
But no luck, always a reply of 0s!
actually, I already did after reading the previous post:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... highlight=
But no luck, always a reply of 0s!
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Quote from the manualit's not very intuitive though because the help page give examples without the ' '...
How could I know?
================
In these arithmetical expressions you can use:
- numbers and strings (in quotes).
Strings that contain a number plus one of the following unit specificators [ms, Kb, Mb, Gb, %] are compared as numbers, so that '900 Kb' is equivalent to 921600
In other word 100 Kb is not a valid number while '100 Kb' can be interpreted as valid number == 102400
Regards
Alex
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec