At times, you would have faced challenges with scenario's that consists of uploading a document from a shared drive, even though that document exists still the Performance Center console gives an error that "File Path/Directory not found".
Problem:- When you would have tried to execute the script through Vugen, it would be working fine with multiple iterations but when it comes to PC it doesn't compiles due to file/directory not found error.
Cause:- Possibly, the shared drive(Directory) has a firewall enabled that allows only the admin or the users with admin privileges to access that particular path
So, when you are trying to execute the script through Vugen, it's running locally on your machine and it doesn't needs special privileges to access the directory because your LANID/user ID, does have the privileges to access that particular file path/directory.
But, when virtual users are trying to access the directory through Controller/Performance Center, they are not having privileges to access that directory because they are trying to access it with help of agents (magentservice.exe or magentproc.exe).
There are various ways of resolving this issue:-
1. You can upload the document within the Loadrunner script, so there will be no issues related with the file path/directory as it will be stored inside the script itself
2. In case, there are multiple documents that needs to uploaded then you need to grant admin privileges to the agent, you can do that by following the below steps.
a) open Services.msc
b) Search for Performance Center Load testing service
c) right click and properties
d) click on Log on tab
e) click "This Account" radio button and enter credentials, the below credentials remains the same throughout for all PC’s:-
Username:- IUSR_METRO
Password:- P3rfoRm@1nce
3. In start menu, navigate till HP Software à PC host à Tools à Agent run time setting configurations à select radio button of Manual log on to this machine
Hopefully, now, you can run the test from performance center or controller :)
Stay tuned for more posts!!!
No comments:
Post a Comment