There is a new protocol in the latest CVS of JMeter that allows the sampling of arbitrary Java objects. Presumably, if you can code in Python, you can code in Java, and thus accomplish much the same thing.
However, it is my goal that such programming not be necessary in JMeter. Almost anything one would like to do in HTTP testing, I'd prefer JMeter to support without requiring programming, since JMeter's target audience is the testing community - which is generally not the hangout of developers. That said, there's no reason a module that executes arbitrary Python script couldn't be added if someone would write it and submit it. :-) -Mike On 11 Jun 2002 at 14:08, Ilia Iourovitski wrote: > And there is one more. > > MaxQ at > > http://www.bitmechanic.com/projects/maxq/ > > Generate Jython scripts like > > 1: # imports > 2: from com.bitmechanic.maxq import HttpTestCase > 3: from junit.textui import TestRunner > 4: from java.util import HashMap > 5: > 6: # defintition of test class > 7: class MaxQTest(HttpTestCase): > 8: def __init__(self): > 9: HttpTestCase.__init__(self, "") > 10: > 11: def runTest(self): > 12: self.get("http://www.google.com/") > 13: self.assertEquals(200, > self.getResponse().getStatusCode()) > 14: > 15: > self.get("http://www.google.com/images/logo.gif") > 16: self.assertEquals(304, > self.getResponse().getStatusCode()) > 17: > 18: > 19: map = HashMap() > 20: map.put("hl", "en") > 21: map.put("q", "testing+tools") > 22: self.get("http://www.google.com/search", > map) > 23: self.assertEquals(200, > self.getResponse().getStatusCode()) > 24: > 25: ########################################## > 26: > 27: # Code to load and run the test > 28: test = MaxQTest() > 29: test.runTest() > > The script is simply python code. > > Would be nice to see integration with JMeter. > > Ilia > > --- Martin Ramshaw <[EMAIL PROTECTED]> > wrote: > > >I'm in the process of evaluating JMeter and > > OpenSTA. I need to select > > >one tool amongst them. Has anyone compared these > > two tools, or knows > > >of any document describing the comparison amongst > > these two. > > > > I'm currently updating some of JMeter's docs > > (including the 'My Boss wants > > me to ...' part, which I wrote) and would be glad to > > include any conclusions > > you may come to. The 'My Boss wants me to ...' part > > also includes some > > discussion about alternatives to JMeter, but it is > > only available with the > > current CVS source-code checkout. One part I am > > adding to this document > > is some comments about 'HttpUnit', which is another > > product that is worth > > a look. > > > > After a five-second web search, OpenSTA is based on > > Corba and offers > > HTTP profiling only (a database profiler is also > > available, but not free. It > > is limited to Oracle, SyBase, and Microsoft > > databases). > > > > Regards > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

