Search the web
Sign In
New User? Sign Up
junitperf
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
problem with simple load test   Message List  
Reply | Forward Message #91 of 94 |
Hi,

I just downloaded junitperf version 1.9.1 and I am doing a POC with jdk 6 (tried jdk1.5 as well) as stated in junitperf page. My simple load test case not running properly.

When I just want to run one iteration of the test, it goes to setup and tear method but it does not run the actual test which is testOneSecondResponse . You can take a look at my very simple test at http://anonsvn.jboss.org/repos/qa/junitperf/. SampleTestCase.java is the test case and SampleLoadTestCase.java is corresponding load test case.

Regards,
Prabhat




Fri Jun 27, 2008 4:59 pm

prabhat143
Offline Offline
Send Email Send Email

Forward
Message #91 of 94 |
Expand Messages Author Sort by Date

Hi, I just downloaded junitperf version 1.9.1 and I am doing a POC with jdk 6 (tried jdk1.5 as well) as stated in junitperf page. My simple load test case not...
prabhat jha
prabhat143
Offline Send Email
Jun 27, 2008
4:59 pm

... You'll need to call the constructor that takes a name and pass in the name of the test method, like so: LoadTest test = new LoadTest (new ...
Mike Clark
clarkware
Offline Send Email
Jun 30, 2008
5:06 pm

Thanks Mike. That works. I was hoping that not calling the constructor that takes method name would result into calling all test methods automatically. Most of...
prabhat
prabhat143
Offline Send Email
Jun 30, 2008
6:34 pm

... The design of JUnit only allows decoration around the setup/test/ teardown lifecycle, so it can't easily be avoided. If your setup method is expensive...
Mike Clark
clarkware
Offline Send Email
Jun 30, 2008
7:38 pm
< Prev Topic  |  Next Topic >
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help