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

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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
Distributed tests   Message List  
Reply | Forward Message #306 of 1231 |
Re: Distributed tests

What you're trying to do is entirely possible. One issue may be that
your remote machines aren't submitting to the right URL. Can you try
to see whether those machines are submitting to the right place (e.g.
http://remotehost:8080/...)? If not, then most likely, the URL you're
giving to the remote machines doesn't include the
"submitResults=<url>" parameter. "submitResults=true" means "submit
the results to the standard localhost URL".
"submitResults=http://remotehost:8080/..." means submit results to
that URL. Are you passing in the right submitResults value?

- Edward

--- In jsunit@yahoogroups.com, "alexvollmer" <alex.vollmer@g...> wrote:
> I've been playing with JSUnit to see if I can deploy a single server
> with all of my JSUnit tests and code. I want to deploy several other
> servers (with the various OS/browser combos) that are configured to
> point back to my main test server. Then I would like to run the
> 'distributed_test' task from the main server with the
> 'remoteMachineURLs' set to the various OS/browser servers I setup
> earlier.
>
> I can only get this to work if I configure each os/browser server to
> use local files (for the testRunner and the test page), but when I
> configure it to use my main server it times out sending the results.
> For example on a linux box I get a message like this before the test
> fails:
> [java] Wed Sep 22 11:42:12 PDT 2004: StandaloneTest: waiting for
> /usr/bin/firefox to submit result
> [java] F
> [java] Time: 121.261
> [java] There was 1 failure:
>
>
> I don't want to deploy my test code on each os/browser server because
> I'm trying to get the whole thing to be part of an automated build
> (cruisecontrol) where the source code is updated from version control
> and deployed in a single place.
>
> Any help or insight into the problem would be greatly appreciated.
>
> Thanks!
>
> --Alex Vollmer




Wed Sep 22, 2004 7:41 pm

edwardhieatt
Offline Offline
Send Email Send Email

Forward
Message #306 of 1231 |
Expand Messages Author Sort by Date

I've been playing with JSUnit to see if I can deploy a single server with all of my JSUnit tests and code. I want to deploy several other servers (with the...
alexvollmer
Offline Send Email
Sep 22, 2004
6:59 pm

What you're trying to do is entirely possible. One issue may be that your remote machines aren't submitting to the right URL. Can you try to see whether...
Edward Hieatt
edwardhieatt
Offline Send Email
Sep 22, 2004
7:43 pm

That sounds quite promising, but I'm not quite sure what the full URL should be specfied in the 'submitResults' on the os/browser servers? I tried pointing it...
alexvollmer
Offline Send Email
Sep 22, 2004
8:18 pm

The full URL should look like "http://mainhost:8080/acceptor". That's the value of submitresults in the URL property of the remote machines. That is, the...
Edward Hieatt
edwardhieatt
Offline Send Email
Sep 22, 2004
9:22 pm

Sorry, it should be http://mainhost:8080/jsunit/acceptor....
Edward Hieatt
edwardhieatt
Offline Send Email
Sep 22, 2004
9:30 pm

It looks like the 'http://' bit is prepended to the 'submitResults' value so I ended up just setting it like '...submitResults=main:8080/jsunit/acceptor'. ...
alexvollmer
Offline Send Email
Sep 24, 2004
5:12 pm

I'm having another problem with distributed tests. Now I can get my browser boxes talking back to the 'acceptor' servlet but the browsers just sit there after...
alexvollmer
Offline Send Email
Sep 27, 2004
8:48 pm

Sounds like the browsers still aren't really submitting to the main server. What evidence is there that they really do? If you watch the main server's JsUnit...
Edward Hieatt
edwardhieatt
Offline Send Email
Sep 27, 2004
10:18 pm
Advanced

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