loadrunner Is there a setting in Vugen 12.02 that will...

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

S

Scott Moore

Guest
Is there a setting in Vugen 12.02 that will make it so that instead of the vuser_init.c being opened by default, it can be changed to have the action.c open as the default instead? I looked in tools>>options, but I have a feeling this might be a change to a config file.
 
What I've been doing is put nothing in vuser_init(), but have an Action_iterations counter. If it's 1, call a function that does the setup.
 
You mean inside the SharpDevelop interface right? Yeah, it's kind of annoying to have vuser_init always pop open first then have to close it because we have nothing in there most of the time.
 
I am currently opening up some Citrix scripts. Some were created in an older version and some are new.
 
Probably what you are looking for is in run time settings -》run logic . There you can delete actions or add new ones
 
I want the action.c file to be the file that launches as the default so I can get right to putting code in it. I don't want to code in the vuser_init.c and I don't want to have to doubleclick on the file in the solution explorer to bring it up. Why? Because I am a lazy american, that's why....
 
The behavior is controlled by "LastActiveAction=Action" key under "[General]" section in the script .usr file. So, for existing scripts, you should edit the .usr file and under the "[General]" section, add "LastActiveAction=Action" line. For new scripts, you should edit the template .usr files which are used by VuGen when creating the scripts. The templates are located in "\template\" folders.
 
One more thing... Thank you for your feedback! Following this post, we will "fix" this in the next LR release.