Sunday 10 October 2010

Put your LoadRunner scripts on diet!

There are multiple ways of making LR script folder a bit smaller in size which could be beneficial, if the script needs to be archived and stored for extended periods of time. Just to name a few methods here:

Operate from ZIP file
  • Saving and opening LoadRunner scripts in ZIP archives
  • Saving LoadRunner scripts in compressed Windows folders
  • Removing unnecessary files
Maintaining big script repository and taking regular backup of the entire script repository could be very disk-space hungry exercise particularly if all runtime data files and execution results are also unnecessarily being backed up.

As an example simple few steps script could have size of about 10MB after recording and the folder size could grow to 13MB after script execution which is about 30% increase. This increase in size caused by run-time data files, logs, VUGen execution result folders and backup files which are not required for the script to work properly.

I want to make clear here what I mean when I say VUGen execution result folders I don’t mean a result folder which is created during LR scenario execution. VUGen results are stored within a script folder and are created when the script is run on its own from within VUGen and are called result1, result2, result3, etc.
The simplest solution to save some space quickly (which I’ve been using for the past years) is to remove VUGen execution result folders which will usually release few hundred MB of disk space without removing any vital part of the script.

Additional space can be released by removing variety of other files which I will now explain.

Folders:


  • data – useful folder containing html files, pictures and other items captured by LaodRunner during recording. I would recommend keeping that folder within the script folder but if the disk space usage is crucial and scripts size needs to be reduced for archiving this folder could also be deleted. It is not required for successful execution of the test script.
    result1 – default result directory for VUGen execution result folder. Note that tester can specify different result folder manually. LR will create folder with next number if it is not possible to obtain full rights to result1 folder.
  • .DS_Store – this folder is not created by LR or even Windows operating system but by Mac OS. It can be created if someone accesses script folder from Mac which might be the case if the scripts are stored in shared location such as corporate shared drive.

File extensions:


  • idx – binary index file for used to store parameter values
  • bac – backup files for script, output, and other types of VUGen files
  • ci – it is a final Compiled Image of the LR script

Full file names:
  • pre_cci.c – concatenation of all C code and lrun.h header file
  • output.txt – same text which is displayed in LR GUI in Replay Log
  • options.txt – options passed to the LR compiler pre-processor
  • logfile.txt – additional log file
  • logfile.log – additional log file
  • mdrv_cmd.txt – parameters passed to the mdrv.exe utility which compiles and runs the LR script
Other files with random filename parts (asterisk represents random part in the file name):
  • combined_*.c – concatenated/combined list of header files used by LR script
  • mdrv*.log – log file for the mdrv.exe process
All of those files could be removed manually with a help of windows build-in search utility. In order to simplify that task I’ve built small but mighty tool in VBSctript which can automate this task.

To learn more about a clean-up tool for LR script folders please read on here. You will find a link to the utility and brief explanation on how to configure it to your linking.

If you want to understand how LaodRunner compiler is working "under to hood" have a look at this the LoadTester website.

118 comments:

  1. Thanks. Very useful info.

    Michael Heusi

    ReplyDelete
  2. Excellent article on load testing!!! This testing exhibits the ability of a software application/system to withstand actual load. Best Loadrunner training institute in Chennai

    ReplyDelete
  3. This information is impressive..I am inspired with your post writing style & how continuously you describe this topic. After reading your post,thanks
    for taking the time to discuss this, I feel happy about it and I love learning more about this topic..
    Android Training In Chennai In Chennai

    ReplyDelete
  4. Dear admin, The way you have explained the concept is mezmerizing. Thank you so much for sharing tis worth able content with us. The concept taken here will be useful for my future programs and i will surely implement them in my study. Keep blogging article like this.


    JAVA Training Chennai | J2EE Training in Chennai | Android training in chennai

    ReplyDelete
  5. Really great post thanks for amazing sharing project management blog

    ReplyDelete
  6. Yours guidence on Loadrunner is helpful to learners. Thanks for providing the needed information on Lordrunner online training

    ReplyDelete
  7. Thank you for sharing this kind of useful information,
    Provide this information is mostly useful to who are searching for loadrunner online training.

    ReplyDelete
  8. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. Best Selenium Training in Chennai |Selenium Training in Chennai | Best Selenium Training Center in Chennai
    Android Training in Chennai

    ReplyDelete
  9. This is actually a very useful article and I'm commenting so there's a least one comment that's not a bot advertising training!

    ReplyDelete
  10. Nice Blog. Thank you for Sharing. Enterprise Resource Planning Software Solutions in Chennai.
    erp in Chennai | erp providers chennai

    ReplyDelete
  11. Hi, you have given really informative post. Thanks for sharing this post to our vision. Learn Dotnet,hadoop,android will helps you to reach your goal.
    Dot Net Training in Chennai
    Android Training in Chennai
    Hadoop Training in Chennai

    ReplyDelete
  12. Nice information about the load runner scrits my sincere thanks for sharing this valuable post
    Software Testing Training in Chennai

    ReplyDelete
  13. really you have posted an informative blog. it will be really helpful to many peoples. thank you for sharing this blog. so keep on sharing such kind of an interesting article.
    dot net training in chennai

    ReplyDelete
  14. Impressive and Interesting article, thanks for sharing your views and ideas... keep rocks and updating.

    Dot Net Training in chennai | Oracle Training in chennai

    ReplyDelete
  15. very useful information i am expecting more posts like this please keep updating us........

    Best Real Time Project Center in Chennai | Real Time Project Center in Velachery

    ReplyDelete
  16. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.No.1 IOS Training Institute in Velachery | Best Android Training Institute in Velachery | Core Java Training Institute in Chennai

    ReplyDelete
  17. Wonderful post. I am learning so many things from your blog.keep posting.


    Informatica Online Training|ETL Testing Online Training|Hadoop online Training

    ReplyDelete
  18. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    Best Java Training Institute Chennai

    Java Training Institute Bangalore

    ReplyDelete

  19. Wow!! What a interesting blog.. Really awesome to read and so informative blog.. Keep ongoing such a great blog..
    Internet Of Things

    ReplyDelete

  20. Wow!! What a interesting blog.. Really awesome to read and so informative blog.. Keep ongoing such a great blog..
    Austere Technologies |Internet Of Things

    ReplyDelete
  21. Great article, really very helpful content you made. Thank you, keep sharing.

    Application Quality Managment Services | Austere Technology Solutions

    ReplyDelete
  22. Really great blog, it's very helpful and has great knowledgeable information.

    Best Mobility Services | Austere Technology Solutions

    ReplyDelete
  23. I strongly believe that there will be great opportunities for those who looked into this area, this is the best place to learn in a great way...
    Best Online Software Training Institute | DevOps Training

    ReplyDelete
  24. This is a one passage sincere belief rundown giving examination of the content and will indicate whether it merits seeing.
    coverage script

    ReplyDelete

  25. well! Thanks for providing a good stuff related to DevOps Explination is good, nice Article
    anyone want to learn advance devops tools or devops online training
    DevOps Online Training
    DevOps Online Training hyderabad
    DevOps Training

    ReplyDelete
  26. I am really enjoying reading your well-written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.
    Selenium Training in Chennai
    Selenium Course in Chennai
    Selenium Training Institute in Chennai
    best selenium training in chennai

    ReplyDelete
  27. I am really enjoying reading your well-written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.
    AWS Certified Solutions Architect
    Best AWS Training in Bangalore
    AWS Training in Perambur
    AWS Training in Saidapet

    ReplyDelete
  28. Amazing information,thank you for your ideas.after along time i have studied an interesting information's.we need more updates in your blog.
    Best Java Training in Bangalore
    Java Courses in Chennai Perambur
    Java Training Institutes in Numgambakkam
    Java Training in Karapakkam

    ReplyDelete
  29. Your article gives lots of information to me. Thanks for sharing.
    acca course in hyderabad | ISFS

    ReplyDelete
  30. Hello,
    Thank you Maciej Zaleski blog for the post update regularly. KernelTraining is one of the leading DevOps training institutes. Recently i completed my software course in KernelTraining, good Institute where you can get good knowledge by real-time experts. I would strongly recommend KernelTraining. for more details please go through the link: DevOps Training In Hyderabad

    ReplyDelete
  31. Thanks for sharing such an informative blog to us, keep on updating.
    ACCA training institute in Hyderabad | ISFS

    ReplyDelete
  32. Thank you for sharing such a nice and interesting blog with us. i have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information. I would like to suggest your blog in my dude circle. please keep on updates. hope it might be much useful for us. keep on updating...
    German Classes in Chennai
    German Language Classes in Chennai
    German Language Course in Chennai
    German Courses in Chennai
    best german classes in chennai
    German language training in chennai

    ReplyDelete
  33. WOW! Really Nice Post! I personally believe that to maintain the standard of a blog all the hacks mentioned above are important. All points discussed were worth reading
    and I’ll surely work with them all one by one.

    CEH Training In Hyderbad

    ReplyDelete
  34. Thank you for sharing such great information very useful to us.
    Loadrunner Training in Noida

    ReplyDelete
  35. Your Blog is really awesome with useful information and informative article.Thanks for sharing such a wonderful and excellent post with us.keep updating such a amazing post..
    ISTQB Certification Training Center in Chennai | ISTQB Certification Exams in Velachery | ISTQB Certification Training in Velachery | ISTQB Certification Exams in Madipakkam

    ReplyDelete
  36. Thanks for sharing your wonderful and very useful information.keep updating such a impressive and attractive blog with interesting content.

    Java Training in Chennai | Java Training in Velachery | Java Training Center in Medvakkam | Java Training in Pallikaranai | Java Courses in Chennai | Java Online Training in Guindy

    ReplyDelete
  37. Good article!!! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…

    Best UI Path Training Institute in Chennai | Best UI Path Training in Velachery | Best UI Path Certification Training in Pallikaranai

    ReplyDelete
  38. your Blog is really useful for me,its really very interesting and informative information post.keep updating such an amazing post.
    Linux Certification Training in Chennai | Linux Training Institute in Chennai | Linux Training Center in Adayar | Best Linux Training in Pallikaranai

    ReplyDelete
  39. Your Blog is really amazing,its really useful for me and informative content with helpful information.keep updating such a wonderful post..

    Tally ERP9 Training in Chennai | Best Tally Training in Chennai | Tally Training Center in Pallikaranai | No.1 Tally ERP9 with GST Courses in Velachery

    ReplyDelete
  40. Very informative blog. Helps to gain knowledge about new concepts and techniques.Thanks a lot for sharing this wonderful blog.keep updating such a excellent post..

    Best PCB Design Training in Chennai | No.1 PCB Design Course in Velachery | Best PCB Training in Chennai

    ReplyDelete
  41. Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it..
    Python Certification Training Institute in Chennai | Python Training in Chennai | Python Exam Center in Velachery | Python Training in Velachery

    ReplyDelete
  42. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...

    AWS Certification Training Institute in Chennai | AWS Training Center in Chennai | AWS Certification Training in Velachery

    ReplyDelete
  43. Thanks for sharing this information,this is helpful to me a lot...It is amazing and wonderful to visit your site.

    Web Designing Training Institute in Chennai | Web designing Training in Velachery | Web Design Training Center in Velachery

    ReplyDelete
  44. This is a great inspiring article.I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post..

    Best ISTQB Certification Training in Chennai | No.1 ISTQB Certification Training Center in Chennai | ISTQB Certification Exam Center in Velachery | ISTQB Certification Training in Saidapet

    ReplyDelete
  45. It is awesome and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    PCB Design Training Institute in Chennai | PCB Designing Training in Velachery | PCB Design in Pallikaranai | PCB Course in Chennai

    ReplyDelete
  46. The article is so informative. This is more helpful. Thanks for sharing.thanks for your information really good and very nice web design company in velachery

    ReplyDelete
  47. Good article! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Python Certification Training in Chennai | Python Training Institute in Velachery | Python Certification Exams in Chennai | Python Exam Center in Chennai

    ReplyDelete
  48. It is awesome and wonderful to visit your site.Thanks for sharing your ideas and views... keep rocks and updating........
    Tally ERP9 Training Institute in Chennai | Tally Training Center in Velachery | Tally Training Center in Taramani

    ReplyDelete
  49. I have read your blog its very attractive and impressive. I like it your blog.Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.

    VMware Certification Training in Chennai | VMware Certification Exam Center in Chennai | VMware Exams Center in Taramani | VMware Certification Exams in Chennai

    ReplyDelete
  50. Wow...What an excellent informative blog, really helpful. Thank you so much for sharing such a wonderful post with us.keep updating..
    AWS Certifications in Chennai | AWS Exam Centers in Chennai | AWS Certification Exams in Velachery | AWS Exams in Velachery | AWS Online Exam Center in Velachery

    ReplyDelete
  51. It is really very awesome and wonderful to visit your site.Thanks for sharing your informative blog with us.keep updating such a wonderful post..
    MicroSoft Azure Certification in Chennai | Azure Exam Centers in Velachery | Azure Exam Centers in Madipakkam

    ReplyDelete
  52. Impressive blog with lovely information. really very useful article for us thanks for sharing such a wonderful blog...
    Java Training institute in Chennai | Java Certification Training Center in Velachery | Java Training in Pallikaranai

    ReplyDelete
  53. Nice Post! It is really interesting to read from the beginning and Keep up the good work and continue sharing like this.
    Linux Training Institute in Chennai | Linux Certification Training in Velachery

    ReplyDelete
  54. Excellent Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Embedded System Training in Chennai | Embedded Training in Velachery | Embedded Courses in Pallikaranai

    ReplyDelete
  55. Thanks for giving nice information from your blog...It's really an amazing post..
    Selenium Training Institute in Chennai | Selenium Training Center in Velachery

    ReplyDelete
  56. Thanks for your informative article. Your post helped me to understand the future and career prospects. Keep on updating your blog with such awesome article.
    PCB Designing Training Institute in Chennai | PCB Training in Velachery

    ReplyDelete
  57. Really nice post. Thank you for sharing your amazing information and informative article,its really useful for us.keep updating such a wonderful blog..
    Embedded Training Institute in Chennai | Embedded Training Center in Velachery

    ReplyDelete
  58. Thanks for sharing your great information..Its really very impressive and informative content.keep updating...
    Linux Certification Training Institute in Chennai | Linux Training in Velachery | Online Linux Training in Madipakkam

    ReplyDelete
  59. Amazing blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it..
    Blue Prism Training Institute in Chennai | Blue prism Certification Training in Velachery | Blue Prism Training Center in Adyar

    ReplyDelete
  60. Pretty article! I found some useful information in your blog, it was amazing to read, thanks for sharing this great content to my vision...
    Embedded Training Institute in Chennai | Embedded Training in Velachery | Embedded Certification Training in Velachery

    ReplyDelete
  61. Amazing blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it..
    Embedded System Training Institute in Chennai | Embedded Training in Velachery | Embedded Courses in T.nagar

    ReplyDelete
  62. I am reading your post from the beginning,it was so interesting to read & I feel thanks to you for posting such a good blog,keep updates regularly..
    Web Designing and Development Training in Chennai | Web Designing Training Center in Velachery | Web Design Courses in Pallikaranai

    ReplyDelete
  63. Your article is really an wonderful with useful content, thank you so much for sharing such an informative information. keep updating.
    MultiMedia Training Center in Chennai | MultiMedia Training Courses in Velachery | MultiMedia Training Institutes in OMR

    ReplyDelete
  64. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    Software Testing Training Institute in Chennai | Software Testing Training Institutes in Velachery

    ReplyDelete
  65. Really useful information.

    Data science Course in Mumbaii

    Thank You Very Much For Sharing These Nice Tips.

    ReplyDelete
  66. Nice post... Really you are done a wonderful job. Thanks for sharing such wonderful information with us. Please keep on updating...

    Matlab Project Training Institute in Chennai |MATLAB project Training Institute in Velachery
    |MATLAB project Training Institute in Guindy

    ReplyDelete
  67. very nice blogs!!! I have to learning for lot of information for this sites...Sharing for wonderful information. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing
    Digital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery


    ReplyDelete
  68. If you're into any type of Hip Hop, or creating your own beats and tunes, you just have to check out this beat machine. This is a cutting edge music sequencer with a complete online machine learning and ai courses in hyderabad

    ReplyDelete
  69. Such a fabulous blog. It was good and very helpful to us. See this site and get lots of data. In future It was useful to develop your blog as much nice.
    Devops training in Bangalore
    Devops Course in Bangalore

    ReplyDelete
  70. Best blog I have watched. Clearly explained step by step.
    Superb thank you.
    AI Training in Bangalore

    AI Course in Bangalore

    ReplyDelete
  71. Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing.
    Java Training in Bangalore

    Java Course in Bangalore

    ReplyDelete
  72. Very Informative blog thank you for sharing. Keep sharing.

    Best software training institute in Chennai. Make your career development the best by learning software courses.

    php training in chennai
    uipath training in chennai
    rpa training in chennai

    ReplyDelete