Re: JVM Argument at Runtime

Posted by Chris F. on
URL: http://ngrinder.373.s1.nabble.com/JVM-Argument-at-Runtime-tp733p786.html

Here is a snippet from the latest e-mail I recieved From DT.  Would any of these methods work here?

"there must be some way to pass parameters to the jvm running the tests, some configuration file or other option.

Some tools honor the JAVA_OPTS environment variable, that might be an option here, as at least the groovy native launcher checks for those. You could add the agentpath parameter there.

There might be a way in Groovy to modify the jvm parameters of the spawned JUnit processes, I know that this is possible in ant, maven or IDEs. Add the agentpath parameter there."