Disable protect_from_forgery when load testing rails
Posted: June 3, 2009 Filed under: Deployment, Ruby, Ruby on Rails | Tags: CSRF, httperf, load testing, Rails Leave a comment »Rails turns on protection from CSRF Cross-Site Request Forgery by default. It can make load testing more challenging since you need to get an authenticity_token for posting form data.
More information here: http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection/ClassMethods.html