This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Need some Help in Writing Jython scripts which will be used with Grinder.
I need to write a script which executes a batch(.bat) file. the batch file is interactive, i.e it accepts paramets during its execution.
I was able to write a script which executes a batch file, but when i am trying to give the inputs, its not taking..
can you please help me.
Here is what I have written. Let me know where am i wrong and how do i solve this issue. --------------------- from net.grinder.script import Test; from net.grinder.script.Grinder import grinder; import TestGrind;
log = grinder.logger.output; test = Test(1, "Execute"); class TestRunner: def __call__(self): session = test.wrap(TestGrind("client.bat"));