jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilia Iourovitski <iiou...@yahoo.com>
Subject Re: JMeter and OpenSTA
Date Tue, 11 Jun 2002 21:08:32 GMT
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 <mramshaw@alumni.concordia.ca>
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:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jmeter-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>


Mime
View raw message