Set LoadRunner Load Machine temp file directory

Source: Internet
Author: User

Set LoadRunner Load Machine temp file directory recently in run stability Test3 X 24 hours, found that the load machine generated logs are running records and so on more than 100 g!  C disk space is not enough, but the D disk has more than 700 g space, how to let temporary files transferred to D disk? Here are two things: I. Modifying a temporary file on this computer1. Observe the temporary files produced by the press are under%USERPROFILE%\Local Settings\Temp, so in "My Computer"-"Properties"-"advanced"-"environment variables" in the changes to the TEMP and TMP variables here to set their values are not "d:\  TEMP ", run discovery results are still saved under%USERPROFILE%\Local Settings\Temp. 2. Baidufound that the "NT authority\system" user used by LoadRunner to modify the TEMP and TMP variable paths for this user to use WMI-related knowledge. In the MS-DOS window, execute WMIC environment where "name= ' temp '" Get username,variablevalue WMIC environment where "name= ' tmp '" Get User Name,variablevalue WMIC environment where "name= ' temp '" Get username,variablevalue WMIC environment where "name= ' tmp '" g Et username,variablevalue view ' NT authority\system ' Temp and TMP environment variables are still%userprofile%\local Settings\Temp, and do not change because of the above settings, So there is no effect in order to modify them, respectively, to execute WMIC environment where "name= ' temp ' and username like '%system '" set variablevalue= '%temp% ' wmic E nvironment 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 ' "s Et variablevalue= '%temp% ' points the environment variable of NT AUTHORITY\SYSTEM to the TEMP variable of the system! Successful execution. Run the pressure test again and find that the temp file has gone to the D:\temp folder. two. Modify other load machines (collaborative pressure)1. "  My Computer "--" properties "--" advanced "--" Environment variables "modified the TEMP and TMP variables here to set their values are" D:\TEMP ", 2.  Enter LoadRunner controller, menu Secnario---load generator---Set temporary file path for the collaboration load machine click the Details button---> In the tab, select the second option .... Can...

Set LoadRunner Load Machine temp file directory

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.