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 start only the Sahi proxy
Is it possible to start the Sahi proxy without the dashboard ?
It's to build some batch files that would be launched automatically after an executable has been generated, without depending on the Sahi dashboard.
I would have some batch files like this :
<<
- start the Sahi proxy,
- Launch Sahi scripts
- shutdown the Sahi proxy
>>
Infos :
OS : Windows 7, 64 bits
Sahi : Version = V3.5, Build = 2011-07-19
Thanks + Regards,
Jean-Marc
It's to build some batch files that would be launched automatically after an executable has been generated, without depending on the Sahi dashboard.
I would have some batch files like this :
<<
- start the Sahi proxy,
- Launch Sahi scripts
- shutdown the Sahi proxy
>>
Infos :
OS : Windows 7, 64 bits
Sahi : Version = V3.5, Build = 2011-07-19
Thanks + Regards,
Jean-Marc
This discussion has been closed.
Comments
just start the sahi.bat instead of dashboard.bat
Regards
Wormi
And once started, how to shutdown it ?
Regards,
Jean-Marc
Use CTRL+C to stop the proxy.
Regards
Theeran.
I want to stop the proxy without manual intervention.
I searched for this topic in this forum and I found something interesting :
2011-10-10, Akss004 wrote :
<<
There is no commands in windows similar to "lsof -i:9999" of unix. However You can use combination of "TASKKILL" & "NETSTAT" as below to kill a sahi process which is running on port -9999.
netstat -ano | find “9999?
>return :TCP 0.0.0.0:9999 0.0.0.0:0 LISTENING 3140
taskkill /PID 3140
But how ever here we can't use it to execute from batch file as it requires manual intervention....
>>
and Azhaguvel.A answered :
<<
Thanks AKASH, I have finished that with help of TASKKILL function.
>>
Then, Narayan asked for this solution to be published on the forum, but this was not done.
How to automatically retrieve the process ID (PID) and to call TASKKILL with it ?
Has anyone an idea ?
Thanks,
Jean-Marc
Thanks for raising concern. But i am also eager to see it happening in real.
For me its working easily as i run script through -ant commands. So i haven't done R & D further for it.
But it would be really nice if i get to know about actual usage of that command.
lets see if Narayan can throw some light on it.
Kindly have a look at the below URL:
http://sahi.co.in/forums/viewtopic.php?id=3126
Regards
Sumitra
Thank you very much ! :-)