Testing

Tutorials & How-Tos

Mac OS 10.5.7 update broke JMeter

The latest Java update from Apple broke JMeter... not sure why but JMeter needs Java 1.5. Add this line near the top of your jakarta-jmeter-2.X.X/bin/jmeter file using your handy dandy text editor. I like TextWrangler.

JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5"

If you use any of the other jmeter run scripts you may need to add this to them as well.

1 min read
Security & WebDev

Easy Automated Web Application Testing with Hudson and Selenium » Vitamin Features »

| Vitamin Features » Easy Automated Web Application Testing with Hudson and Selenium | What will you get out of this article? Our set-up achieves the following:

  • It checks our Subversion repository every hour to see if anyone has committed any changes.
  • If they have, it updates the project from Subversion and builds it.
  • It then creates a clean version of our application database, loads in reference data and deploys the application on our app server.
  • A job is triggered that runs through a series of tests in a remotely-controlled web browser on the fresh application.
  • Anything that deviates from the accepted norm is logged and screenshots of the web browser are taken.
  • Screenshots of the browser are also taken for key pages of the site for later checking by a human.
  • If any of the tests fail, the developers responsible for the changes are notified by email of the problems.
  • Our issue tracker is updated with any issues that were fixed in the build.

1 min read