Commits

Anonymous committed 25fc22f

Cleaned up grinder.py & grinder.properties a bit

Comments (0)

Files changed (2)

src/main/resources/grinder.properties

-#grinder.script=src/test/jython/grinder.py
-grinder.dcrinstrumentation = true
+grinder.script=grinder.py
+grinder.useConsole=false
+
+

src/main/resources/grinder.py

 
 import sys
 import pprint
-pprint.pprint(sys.path)
+#pprint.pprint(sys.path)
 
 from java.lang import Thread
 classpath = Thread.currentThread().getContextClassLoader().getURLs()
 classpath = sorted(list(classpath))
-pprint.pprint(classpath)
+#pprint.pprint(classpath)
 
 Thread.sleep(1000)
 
         print x
     print message * 1000
 
-print "Yo!" * 100
+
+#print "Yo!" * 100
+#print
+
 # Instrument the info() method with our Test.
 try:
+    print "About to wrap foo()."
     proxy = test1.wrap(foo)
+    print "Done wrapping foo()"
 except:
+    print "Failed to wrap foo()"
     traceback.print_exc()
     raise
 
-print "Yo Yo Ma! " * 100
 
 # A TestRunner instance is created for each thread. It can be used to
 # store thread-specific data.
 
     # This method is called for every run.
     def __call__(self):
-        print "Yo Yo Yo" * 50
+        print "THE TEST GOT CALLED."
 
-        proxy("Hello World")
+        proxy("Hello.  This is your Proxy speaking.")
 
         grinder.statistics.report()