I am trying to do a JMeter post operation to a simle rails app but I am getting the following back:
Started POST "/flights/" for 127.0.0.1 at 2015-05-04 12:40:15 -0700 Processing by FlightsController#create as HTML Parameters: {"authenticity_token"=>"$(LOGIN_AUTH_TOKEN)"} Can't verify CSRF token authenticity Completed 422 Unprocessable Entity in 3ms (ActiveRecord: 0.0ms)
I have implemented the suggestion about creating a regular expression extractor for the authenticity login as shown here:
and here is the http request:
Any help appreciated and thanks in advance, Slavko