Loading Sikuli script from an URL Steps Required

Asked by Ezhil on 2017-07-30

Currently we are using SIKULI for performance testing an application in AWS workspaces. We were able to do that for 25 Workspaces concurrently. For this setup, we copied the script to all the workspaces manually. Now I need to expand this setup to run with 500+ workspaces. So I need to think about a solution to move the scripts to all these workspaces automatically. I read several QA in launchpad, but didnt conclude yet. Can I post the script into a internal apache server and load the script in the client workspaces through an URL?. In that case, How to mention the image path in all scirpts?. Can you please help me?

Thank you,
N.Ezhil Arasu

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-07-30
Last reply:
2017-07-31

To synchronize script (and images) between 2 PCs (in my case, but more can be involved) I use 3d party Git repository, which can be updated at any time by calling Git command from shell. Both script code and images get updated that way.

I think Git repository solution may work for you too. First run checkout/update script and images with git, then run the execution.

TestMechanic (ndinev) said : #2

Idea 1 : Use STAF framework: This is very robust and well supported test framework with multiple purposes - http://staf.sourceforge.net/

Idea 2: remote execution :
  -- If you using windows - you can use psexec for windows https://docs.microsoft.com/en-us/sysinternals/downloads/pstools
  -- for linux you can use ssh

Idea 3: You can use jenkins to orchestrate test execution - can be a burden with 500 machines

finally but not last : I like the git idea above - can fit well with above 3 ideas

Can you help with this problem?

Provide an answer of your own, or ask Ezhil for more information if necessary.

To post a message you must log in.