We try to build a performance Test with Testmanager and Agents and JAVA scripts. The itself runs on a single machine. But if we try to run the test from a "Master" and sveral agent "remote" machines, the Agents didnt get the entered Classpath for the foreign classes on the agents. And because of that we get an Classnotfoundexception in the test result. Seems that the path is not transfered to the agent.
BTW: The Rational consultant also donīs know anything about a solution :-( And didnīt call back for more than a week know *lol*
I have noticed weird things like this as well. One way to check if your classpath is getting transfered to the agent is by creating a script just to print out the classpath. This should give you alot of information.
String classPath = System.getProperty("java.class.path",".");
Also, perhaps create a jar file for your classes, instead of leaving them in a 'directory' format. It seems that the agent can find the classes better when they are jarred.
The Testmanager converts the added classpath in the wrong way!!!
S:\bla\blabla\blalabla.jar is converted to
(The colon is converted to a semicolon!!!)
and appended to the Agents classpath. :-(
Now I do understand why the consultant always want to modify the classpath of the agents. This also is the solution which is stated by rational. Alos they said that in the future is the way to do so. But I canīt believe that.
In my opinion this is a strange bug which is also easily to be fixed!
Otherwise, if you are testing seferal projects with different classpath variables you always have to change the classpth if you want to run a different test...