29 Jun
Load testing a Rails app with JMeter and the authenticity_token
I have been slowly learning how to use JMeter to load test the Small Payroll application. One of the problems has been getting around the CSRF protection that Rails puts in with the authenticity_token parameter. Each form has a hidden form element: <div style=”margin:0;padding:0;display:inline”> <input name=”authenticity_token” type=”hidden” value=”16iUP1J2tdSKyvHKgYR/I/og6K7NgPPmTHCZ+idQP4k=” /> </div> The token is also encrypted [...]
