my agents can't find their .py modules scripts files
Hi, I recorded and heavily modified a few scripts to load test my webapp. They run fine when I don't use the console. I fire up the console and an agent, I set the script-to-run, distribute the files.
My agent is running in:
D:\code\Grinder\client
The .py modules and data files are all in
D:\code\Grinder\client\SW2-file-store\incoming
When the console tells the agent to run, the agent says:
6/17/08 4:46:56 PM (process SW2-0): Error running worker process (ImportError: no module named misc
File "D:\code\Grinder\client\createNM.py", line 8, in ?)
The agent is looking in the directory it was started in for the .py modules, but the modules are in the file-store subdirectory. How do I resolve this? I can't find any other message about this problem so I must have missed some configuration setting or something easy like that.
The workaround I have been using is to copy all the files from D:\code\Grinder\client\SW2-file-store\incoming to D:\code\Grinder\client but I have to run agents on several remote machines and the manual file copy is causing serious issues.