• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How JUnit/JMeter Differ?

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a feeling that JUnit and JMeter cater to the same requirements, are they competing tools?
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Junit is for unit testing of java classes.
Jmeter can be used for testing servlets - unit as well as load testing.
regards,
lester
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
concerning JMeter, it's load charge tool.
and if you develop the VU (virtual user) component according its API, U can test in charge all the server U can imagine.
I ve done some interessant add on to JMEter and make it as a "must have" home tool.
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guillaume,
I have worked with load runner and i guess Jmeter is same as that. What is that add on you did to JMeter?
thanks,
 
Guillaume Compagnon
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, it s the same purpose ...
but Mercury is more complete to generate benchmark reports ...
however Mercury Load Runner is quite more heavy.
I can make a web server having bad moment with only JMeter on my laptop.
(with LoadRunner , U need a PC farm)
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guillaume ,
Thanks for the clarifications.
I ve done some interessant add on to JMEter and make it as a "must have" home tool.
What is this that you are talking about?
 
Guillaume Compagnon
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
for example, I ve got a composition server (a server that takes XML into a HTTP POST request and gives a PDF in reponse)
and for testing this server, i ve developped my own Virtual User , and plug it into JMETER.
if U learn the JMETER API , it is easy to add some capability ...
 
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can quickly come up with a load test with JMeter using its GUI.
To do the same with JUnit, you would want to use JUnitPerf and HttpUnit.
The book covers both ways and has examples using them together.
reply
    Bookmark Topic Watch Topic
  • New Topic