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
wrong test finished warning   Message List  
Reply | Forward Message #55 of 94 |
Re: [junitperf] Re: wrong test finished warning

I'm stumped as to where the "Wrong test finished" message is coming
from.

Mike

On Apr 30, 2004, at 10:05 AM, ddchili wrote:

> Hi Mike, thanks for your response. I am using HttpUnit (1.5.4)
> TestCases where each have their own WebConversation object and I
> call the TestCases from a JUnit decorated suite by JUnitPerf in the
> following manner:
>
> int iterations = 1;
> Timer timer = new ConstantTimer(0);
>
> Test test = new TestMethodFactory
> (LoadNewUseCaseTestCase.class, "testLoadNewUseCase");
> LoadTest loadTest = new LoadTest(test, TestFrame.MAXUSERS,
> iterations, timer);
> Test cleanUpTestCase = new DeleteAllUseCasesTestCase
> ("testDeleteAllUseCases");
>
> TestSuite suite = new TestSuite();
>
> suite.addTest(loadTest);
> suite.addTest(cleanUpTestCase);
> return suite;
>
> The time to execute each test varies and the warning, "Wrong test
> finshed" message seems to happen when I have my tests run
> concurrently. If I set my ConstantTimer to allow for each test to
> complete before the next test thread starts, then I don't receive
> the warning. I named my threads a synchronized value and have
> determined that they all finish in order.
>
> Any ideas would be appreciated. Thanks again!
>
> David
>
> --- In junitperf@yahoogroups.com, Mike Clark <mike@c...> wrote:
>>
>> On Apr 20, 2004, at 10:34 AM, ddchili wrote:
>>
>>> Hi all,
>>>
>>> I'm running my httpunit test as a client and I'm using junitperf
> to
>>> do some basic load testing. I'm getting warnings stating the
> wrong
>>> test finished, but from what I can tell it's the first test
> started,
>>> and the first to stop. I added a synchronized static int to the
> test
>>> name to see test that the first test started was the first test
> to
>>> stop. I can get this problem if I run more than 1 LoadTest users
>>> (threads) and set my LoadTest timer (delay) to 0 milliseconds or
> a
>>> value under the time needed for the first test to complete.
> Here's
>>> the warning with running 5 users:
>>
>> The "Wrong test finished" warning isn't being issued by
> JUnitPerf.
>> Perhaps it's originating in HttpUnit.
>>
>> Can you share other details that might help diagnose the problem?
>>
>> Mike
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
Mike




Mon May 3, 2004 1:10 pm

clarkware
Offline Offline
Send Email Send Email

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

Hi all, I'm running my httpunit test as a client and I'm using junitperf to do some basic load testing. I'm getting warnings stating the wrong test finished,...
ddchili
Online Now Send Email
Apr 20, 2004
4:37 pm

... The "Wrong test finished" warning isn't being issued by JUnitPerf. Perhaps it's originating in HttpUnit. Can you share other details that might help...
Mike Clark
clarkware
Offline Send Email
Apr 22, 2004
1:41 pm

Hi Mike, thanks for your response. I am using HttpUnit (1.5.4) TestCases where each have their own WebConversation object and I call the TestCases from a JUnit...
ddchili
Online Now Send Email
Apr 30, 2004
4:06 pm

I'm stumped as to where the "Wrong test finished" message is coming from. Mike ... Mike...
Mike Clark
clarkware
Offline Send Email
May 3, 2004
1:12 pm

Yeah, me too...I posted the same question to HttpUnit, I'll let you know if I get an answer. Thanks! David ... coming ... the ... junitperf ... users ... or ...
ddchili
Online Now Send Email
May 5, 2004
8:29 pm
Advanced

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