My team deploys code to production every week or so. We have a large set of post-deployment validations, e.g.:
- New log lines are appended to Tomcat log (
ssh
to machine,tail -f
the log) - Database table has more than 100 new rows in a minute (
ssh
to machine, run somesql
commands) - A GET call with a given parameter returns the right value (browser or
wget
)
The tests are done manually, and takes 2-4 agonizing hours.
Since we have a Jenkins CI system, I would like to automate these tests to small units which produce JUnit XMLS which can be analyzed by the Jenkins web UI.
Is there a test suite capable of easily ssh
-ing servers with JUnit output?