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.

Running tests on multiple machines

nizar.salhajinizar.salhaji Members
edited April 2011 in Sahi - Open Source
Hi,

I try to run my tests on multiple machines. I use Trial Sahi Pro version.

When I launch drun.bat or ant -f demo.xml drun, Sahi distribute tests across multiple machines but he run only on the first node.

XML content:

<sahid suite="${tempdest}/demo.suite"
...
<node host="frc0lw01183" port="9999"/>
<node host="FRC0DW01448" port="9999"/>
<node host="localhost" port="9999"/>

</sahid>


Ant log:

drun:
[sahid] nodes=frc0lw01183:9999|FRC0DW01448:9999|localhost:9999|
[sahid] destFolder=scritps/2011_04_22_12_04_13
[sahid] originFolder=userdata/scripts
[sahid] ignorePattern=.*(svn|copied).*
[sahid] BasePath=D:/Sahi/Monitor/SahiPro/userdata/scripts
[sahid] frc0lw01183:9999
[sahid] http://frc0lw01183:9999/_s_/dyn/pro/Synchronizer_saveFile?destFolder=scritps/2011_04_22_12_0
[sahid] 200
[sahid] FRC0DW01448:9999
[sahid] http://FRC0DW01448:9999/_s_/dyn/pro/Synchronizer_saveFile?destFolder=scritps/2011_04_22_12_0
[sahid] 200
[sahid] localhost:9999
[sahid] http://localhost:9999/_s_/dyn/pro/Synchronizer_saveFile?destFolder=scritps/2011_04_22_12_04_
[sahid] 200
[sahid] [sahid] http://localhost:9999/_s_/dyn/in.co.sahi.command.Master_runDistributed?suitePath=scritps/2011_04_22_12_04_13/demo.suite&amp;startURL=http://intheloop/html/healthcheck/healthcheck.html&amp;browserType=firefox&amp;nodes=frc0lw01183:9999|FRC0DW01448:9999|localhost:9999|&amp;id=sahi_e1f0812f08b8a042a60806107d1ca64bab3e

Whta's the problem ? trial version limitation ?

Thanks for Help.

Comments

  • Hi,

    I finally understand the concept.
    Imagine we have a demo.suite and demo.xml
    In demo.xml we declare 2 nodes.
    In demo.suite we have two scripts.

    When you launche Sahi on distributed mode, the first script will be run on the first node and the second on seconde node.

    For me a distributed mode, must execute a demo.suite on node one and node two.

    any way.

    Good day
Sign In or Register to comment.