Open ViralBShah opened 9 years ago
One can probably use tools like selenium (http://www.seleniumhq.org/) to run an automated login and logout from JuliaBox.
We currently have our server logs getting uploaded to AWS cloudwatch. We could write some scripts to go through them and send SMS/email if a certain pattern is detected.
Both sound like great options to implement.
Or like tanmay said we could write scripts to monitor each service and trigger an action when a discrepancy is found.
I think the log monitoring is the easy one. We need something that simulates users using a browser.
Splinter combined with lettuce will let you simulate users. Splinter allows to automate browser tasks. Wrote a small script to login to one of my in process side projects. Worked like a charm. https://github.com/melvin0008/tryingsplinter
And yup for monitoring errors, monitoring logs is the optimum solution.
Can I know the list of operations being tested when someone simulates a browser.
Using this script. I can login to JuliaBox using a test gmail id and then create a new notebook.
I did this using selenium.
What are the other operations needed to be performed?
To start with, I would love to have a notebook that computes 1+1
and gets the correct answer.
Nice, looks good! Some more basic tests I could think of:
julia -e "Base.runtests()"
in the consolePkg.test(...)
Sure . I'll get started.
Can we setup a monitor that can auto-login to juliabox, and run a simple notebook - simulating a user in a browser. Are there tools to automate something like this? I am sure this is a pretty common request.
Every once in a while something goes wrong, since these are early days - and it would be nice to get an email/text on failure. Perhaps we can even have status.juliabox.org.