18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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 launch net.sf.sahi.Proxy in remote machine
if you want to launch your sahi server in local machine we use this ant target:
<target name="start" description="starts proxy">
<java classname="net.sf.sahi.Proxy" fork="true">
<!--<env key="MOZ_NO_REMOTE" value="1"/>-->
<classpath location="lib/sahi.jar">
<pathelement location="extlib/rhino/js.jar"/>
<pathelement location="extlib/apc/commons-codec-1.3.jar"/>
<fileset dir="extlib" includes="*.jar"/>
</classpath>
<arg value="." id="basePath"/>
<arg value="userdata" id="userdataPath"/>
</java>
</target>
but how i can launch sahi server in remote machine ?
<target name="start" description="starts proxy">
<java classname="net.sf.sahi.Proxy" fork="true">
<!--<env key="MOZ_NO_REMOTE" value="1"/>-->
<classpath location="lib/sahi.jar">
<pathelement location="extlib/rhino/js.jar"/>
<pathelement location="extlib/apc/commons-codec-1.3.jar"/>
<fileset dir="extlib" includes="*.jar"/>
</classpath>
<arg value="." id="basePath"/>
<arg value="userdata" id="userdataPath"/>
</java>
</target>
but how i can launch sahi server in remote machine ?
Comments
It is not possible to start the Sahi proxy in another system using Pro either. You need to use something like rexec to execute a process on another machine. Use your operating system commands to accomplish this. Sahi won't be able to do this.
Regards,
Narayan