Hello all,
I was wondering if it was possible to run a command (or build the config file) in such a way that you would be able to start the same ttcn scenario with different module parameter values.
Say I have a module parameter charstring "char_value".
My testcase simply runs log("Hello", char_value).
What I would like to do is something that would look like
./ETS ETSconfig1.cfg ETSconfig2.cfg
,
where ETSconfig1.cfg is
[MODULE_PARAMETERS]
ETSchar_value := "world !"
[EXECUTE]
ETS.control
and ETSconfig2.cfg is
[MODULE_PARAMETERS]
ETSchar_value := "titan !"
[EXECUTE]
ETS.control
Another way would be to run ./ETS ETSconfig.cfg with:
[MODULE_PARAMETERS]
ETSchar_value := "world !"
[EXECUTE]
ETS.control
[MODULE_PARAMETERS]
ETSchar_value := "titan !"
[EXECUTE]
ETS.control
I've browsed through the User Guide but did not find something fitting my need.
Is there a way to accomplish this ?
Thank you all in advance!
Best,
Erwan