18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How To run single script in single machine, multiple times parallely?

shahparthshahparth Members
edited November -1 in Sahi - Open Source
Dear All,

I am using Ubuntu Linux.

I Have One Script Name abc.sah

Now, I want to run that script on three different http page simultaneously.

I have done the following things but it didn't work.
(this is just ex: not actual syntax)
(1) In 1st terminal : testrunner.sh abc.sah http://10.20.22.203/ firefox

(2) In 2nd terminal : testrunner.sh abc.sah http://10.20.22.204/ firefox

(3) In 3rd terminal : testrunner.sh abc.sah http://10.20.22.205/ firefox

When I did like this, it works only for 1st terminal and for 2nd and 3rd terminal processes are getting killed.

and once when I execute in 2nd terminal I received that "firefox is already running but not responding".

Do the needful things.

Thanks In advance.

Comments

  • Hi shahpath,

    Instead of doing running same script using testrunner.bat , you can create a suite file which would containt the abc.sah and correspondance url.

    For eg:

    You can create a suite file as demo.suite and the content in this suite file should be:

    abc.sah http://10.20.22.203
    abc.sah http://10.20.22.204
    abc.sah http://10.20.22.205

    Now run this suite file as:

    testrunner.sh demo.suite http://10.20.22.203/ firefox

    Let me know if this solves your issue.

    Regards
    Sumitra
Sign In or Register to comment.