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.
Automate URL Monitoring
Query:
I am looking at options to automate URL monitoring, We need to
1) ability to schedule the job to run every X minutes and send alert when unexpected result (system down) via emails;
2) run on demand after a restart/reboot to make sure all environments are operational. Do you think Sahi is a good candidate?
Please let me know if this is possible using SAHI or not?
I am looking at options to automate URL monitoring, We need to
1) ability to schedule the job to run every X minutes and send alert when unexpected result (system down) via emails;
2) run on demand after a restart/reboot to make sure all environments are operational. Do you think Sahi is a good candidate?
Please let me know if this is possible using SAHI or not?
Comments
If you are just looking to check the health of the system by just pinging a url, Sahi would be an overkill. Sahi is for functional testing. What you need can be achieved in a lot of other ways. If I were you, I would use wget and mail in a shell script, and add it to crontab.
If you had posted this in the right place, we both would have saved a lot of time! I just had to answer your question at 3 different places.
Narayan
So sorry Narayan, for posting it at 3 different location.
As I am already using SAHI for my functional and the navigational flow of application, I just wanted to know, Is it possible to run a job using SAHi after every 30minutes & integrate the same with Email.
This want to know, Hope you got my point.
Regards,
-Rohit.
Have a look at sahi/bin/scheduler.bat and sahi/bin/scheduler.properties
You will need mail.jar and activation.jar. Drop it into sahi/extlib/mail folder. (Create one if not present.)
Play around a bit and let me know if you have queries.
Regards,
Narayan
I am using Sahi Nightly build Package dated 2008-06-27, it is not showing the following: sahi/bin/scheduler.bat and sahi/bin/scheduler.properties