Using casper+apache approach