Go to: Set the directory of the temporary file of the LoadRunner Loader

Source: Internet
Author: User
Recently Running Stability Test3x24 hours later, we found that there were more than 100 GB of logs generated by the carrier! Disk C has insufficient space, but disk D has more than 700 GB space. How can I transfer temporary files to disk D? Two cases of such sanction: 1. Modify temporary files on the local machine1. observe that the temporary files generated by the press are all under % USERPROFILE % \ Local Settings \ temp, so in "My Computer" -- "property" -- "advanced" -- "environment variable", the temp and TMP variables were modified, and their values were not set here. "D: \ Temp ", the execution result is still saved under % USERPROFILE % \ Local Settings \ temp. 2. BaiduIt is found that the "nt authority \ System" user used for LoadRunner execution needs WMI-related knowledge to modify the temp and TMP variable paths of this user. in the MS-DOS window, run WMIC environment where "name = 'temp '" Get username, variablevalue WMIC environment where "name = 'tmp'" Get username, variablevalue WMIC environment where "name = 'temp '" Get username, variablevalue WMIC environment where "name = 'tmp'" Get username, variablevalue: Check whether the 'nt Authority \ system' temp and TMP environment variables are still % USERPROFILE % \ Local Settings \ Temp does not change because of the above settings, so it does not work to modify them, run WMIC environment where "name = 'temp 'and username like' % system'" set variablevalue = '% Temp %' WMIC environment where "name = 'tmp 'and username like' % SYSTEM '"set variablevalue =' % Temp % 'WMIC environment where" name = 'temp' and username like '% system' "set variablevalue =' % Temp % 'WMIC environment where "Name = 'tmp 'and username like' % system'" set Variabl Evalue = '% Temp %' point the environment variable of nt authority \ System to the temp variable of the system! Execution successful. Run the stress test again and find that the temporary file has been in the D: \ Temp folder .. 2. modify other load balancing machines (Collaborative pressure)1. "My Computer" -- "property" -- "advanced" -- "environment variable" changed the temp and TMP variables. Here they are set to "D: \ Temp", 2. go to LoadRunner controller, and choose secnario --- load generator --- set the temporary file path for the cooperator and load the server. Click the details button ---> on the tab, select the second option .... you can...
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.