Is your feature request related to a problem? Please describe.
The current behavior of CLI & GUI requires updating Virtual Users settings manually before (using giset) or after each restart. It’s better to allow the vuset command (CLI) and Virtual Users Options menu (GUI) to save the setting to storage to improve consistency and speed of continuing benchmarking across restarts.
Describe the solution you'd like
Dynamically write the VU settings to generic.db using the vuset command / Virtual Users Options menu confirmation.
Describe alternatives you've considered
Update the VU settings in genericdict during vuset and write everything from genericdict to SQLite on exit, but it’s better to save data to the storage earlier.
Save the VU settings to genericdict and to SQLite (during vuset) to keep them in sync (to avoid side effects such as print generic outputs outdated VU data). In this case, it is logical to modify giset too.
Additional contextPR that solves the issue. The behavior and internals are similar to giset but automate frequent VU operations.
Is your feature request related to a problem? Please describe. The current behavior of CLI & GUI requires updating Virtual Users settings manually before (using
giset
) or after each restart. It’s better to allow thevuset
command (CLI) and Virtual Users Options menu (GUI) to save the setting to storage to improve consistency and speed of continuing benchmarking across restarts.Describe the solution you'd like Dynamically write the VU settings to generic.db using the
vuset
command / Virtual Users Options menu confirmation.Describe alternatives you've considered
genericdict
duringvuset
and write everything from genericdict to SQLite onexit
, but it’s better to save data to the storage earlier.genericdict
and to SQLite (duringvuset
) to keep them in sync (to avoid side effects such asprint generic
outputs outdated VU data). In this case, it is logical to modifygiset
too.Additional context PR that solves the issue. The behavior and internals are similar to
giset
but automate frequent VU operations.