Reducing the vugen scripts folder size by deleting the unwanted replay files

Loadrunner
If we are using Performance center for performance test execution, then we will be creating a test scenario using zipped vugen scripts which will hold only the runtime files. But this is not the case when we create a scenario using standalone controller. We will have to delete the files that are created during the script replay to reduce the folder size.

Every scenario will have number of scripts and deleting the replay files manually from each scripts folder is time consuming. Hence this has been automated using command prompt (.cmd) file.

Using Command prompt:

Place the Delete.cmd file in the folder where all the vugen scripts are saved and execute it. This will delete the replay files from all the vugen script folders in one go.

Below are the list of files that will be deleted from the vugen scripts folders.

*.idx
mdrv*.log
mdrv.txt
options.txt
*.ci
combined_*.c
output.txt
debug.inf
*.bak
\result1

Note : Make sure none of the vugen's scripts whose replay files are being deleted is open while running the Delete.cmd file.

Download the Delete.cmd file here


4 comments: