[Grinder-use] How to provide input for Java Class test
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
|
From: cmp u. <cmp...@ya...> - 2006-04-30 04:37:42
|
Hi
I am newbie to grinder. A quick search on the list
didn't seem to get a sample for what i wanted.
I have a simple Java class with one method, when the
method is executed, a system.in.read happens to read
the input couple of times from command line console.
I got this basic script working, but it halts at the
first input request and input isn't handled in the
command window where I started net.grinder.Grinder.
How do I make this automated with grinder script.
--
test script
---
from com.client import LocalPUClient
test2 = Test(2, "Call J2SEClient")
j2seWrapper = test2.wrap(LocalPUClient())
class TestRunner:
def __call__(self):
j2seWrapper.performShopping()
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|