Closed v1k1nghawk closed 2 months ago
Many thanks for the pull request, I will take a look and review as soon as time allows.
I've done a quick overview and some changes are needed, for the GUI it makes more sense to update the entire dict rather than every value with a single command and for the cli the command updates the SQLite data to persist over restarts but does not update the dict so if you do print generic after doing vuset it still shows the old value. I will do a commit to the PR that corrects these and then it should be good.
Automatically update the VU generic settings inside the
vuset
command (CLI) and inside the Virtual User Options (GUI) to make it easier to persist VU settings across restarts. Write the values to SQLite storage when set or the user presses OK.Example of the new vuset (CLI) behavior across the restarts:
Virtual Users Options menu (GUI) is the same before and after the restart:![image](https://github.com/TPC-Council/HammerDB/assets/67466892/5369f92a-4361-442f-8602-319935dc0232)