Thursday, February 24, 2011

Automated API Beatdown

This app is being designed using a pretty commonly seen architecture these days.  JSON being posted to various API URLs and the server sending a response chunk of JSON back which is intrepreted by the client side javascript, and then if necessary, made all pretty and displayed to the user.

But an important part of this is making sure those API hooks are always responding well after someone makes a change, especially in the beginning when major things are changing constantly, like our database schema.  So to solve this we whipped together a quick beatdown script that uses abuses our API and makes double sure everything is responding correctly...

Eventually to fully test out our idea we will need to evolve this code into simulating a fully functioning stock market... scary, but I can't wait to see it working.

No comments:

Post a Comment