can sikuli be deploied like a hub-node mode?

Asked by prowllw

to support multi-client, just like selenium.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

1.1.0 has a limited support for triggering the run of a script on a "server" from a "client".
This feature is experimental:
http://sikulix.com/support

... but as a general limitation for SikuliX: only one client request can be served at one time, since screen, keyboard and mouse are a singleton resource.

If you tell me more about your intention may be I can help you better.

Revision history for this message
prowllw (prowllw) said :
#2

thanks for answering.

it seems that the sikuli has not well prepared to my intention.

I want to deploy a server linked by several clients.
when tests coming, the server can aotumaticlly dispatch a test to an idle clients, then the result comes back to the server when the test is done.
now I am using selenium to do this job, there is a hub(server), and some nodes(clients), it works well.
but when a test contains sikuli, the screen() runs on the server instead of running on the client as other normal tasks do.

so I think whether sikuli can deal with this situation...

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

ok, understood.

Then in your sense the mentioned SikuliX runserver is what you name a client.

On each client machine you have to start an instance of the runserver, that waits for a job to be done (a script to be run e.g.).
The resources needed (script, images, ...) have to be on the client machine or at least somehow accessible on the net.

What you have to setup yourself is the hub-server, that dispatches the jobs to the clients (not a feature of the current version).

But generally a good idea. I will put it on the list for version 2.

Revision history for this message
prowllw (prowllw) said :
#4

Thanks RaiMan, that solved my question.