You probably have problems with the CSRF check that comes with the rails. Check your logs, and if you see the following line, then the reason:
WARNING: Can't verify CSRF token authenticity
A workaround could be to create a secret / master token that will be used for your tests by checking the CSRF, and then tell your application to accept it as valid, for example, add the following line to your ApplicationController right after the line "protect_from_forgery ":
skip_before_filter :verify_authenticity_token, :if =>lambda{ params[:authenticity_token].present? && params[:authenticity_token] == 'YOUR_SECRET_TOKEN' }
then in httperf tests you should send your main token with parameters: & authenticity_token = YOUR_SECRET_TOKEN
source share