[Tsung] dynamic variables: lowercase and 5.6.1
---- check_httpd_old_version() bug!? erlang logic.
Nicolas Niclausse
nicolas at niclux.org
Thu Apr 24 13:25:16 CEST 2008
Stein, Martin ecrivait le 22.04.2008 20:53:
> Continuing my quest for dynamic variables I found that the “name” field
> has to be in lower case. It would be great if this was in the manual. I
> would propose rewriting the section:
>
> This value (42) will be replaced wherever the variable appears in the
> http request. The variable name has to begin with %%_ and end with %%.
> It also has to be in lower case. Note: the replacement will only by made
> if the request tag has the attribute subst="true", like:
>
OK, that's better indeed :) Thanks !
>
> Of course the journey doesn’t end here. After I changed the name=”” to
> lower case, another error:
>
>
>
> ["Config Error, aborting !
> ",{undef,[{httpd_util,to_lower,["POST"]},{ts_config_http,parse_config,2},
>
>
>
> Heck – my Erlang version doesn’t have that function any more. What’s wrong.
I completely rewrote the version check in the trunk. Thanks anyway and
sorry for the bug ...
https://forge.process-one.net/browse/Tsung/trunk/src/tsung/ts_utils.erl?r1=792&r2=815
--
Nicolas
More information about the Tsung-users
mailing list