• 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

JUnitPerf / Grinder

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm looking for a hint on how to test a part of an application...

I want to find a third-party-provider response time from a call within our service.

The application is made up of several services, but I just want to use the service that makes the call, to isolate the test.

I'm not sure what would be best to do this with - could I use JUnitPerf or The Grinder? Do they both call JUnits and then provide output or are they different?

Would the code that records the response time go into the JUnitPerf script or the JUnit script?

Thanks to anyone who can help!
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JUnitPerf wraps around your existing JUnit TestCase classes.
Grinder pounds on your web application by sending HTTP requests.

If I understood your need, I'd say JUnitPerf is definitely what you're looking for.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's hoping i can get an answer to my problem here...
I have been using JUnitPerf to try to load test our applications. To date my biggest problem has been integration with Jakarta Struts. I get the error :
Was expecting '/test/main/success.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.

I know the mapping is correct because of 100 tests 80 will pass. They all test the same action.

Is there some incompatibility between junitperf .. threads.. and struts actions?
Thanks
Pat
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic