HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Can I use StresStimulus with a site that uses Anti-Forgery Tokens? Messages in this topic - RSS

David Hoerster
David Hoerster
Posts: 1


2/20/2012
David Hoerster
David Hoerster
Posts: 1
Hi there.  I'm in the process of evaluating StresStimulus and I was wondering if this tool can work with sites that use Anti-Forgery Tokens to prevent cross-site request forgeries.  Our application uses ASP.NET MVC's ValidateAntiForgeryToken on POSTs.  When I run StresStimulus against those action methods, I get a 500 back - which is understandable since I'm replaying the session with the same _RequestVerificationToken parameter (which is now invalid).

Is there a way to load test sites using this with Fiddler/StresStimulus, or do I need to have a switch in code that turns this ValidateAntiForgeryToken on and off?

I like your product very much and integration into Fiddler is a very logical place for it.  Looking forward to more updates!

Thank you,
David
0 link






Copyright © 2020 Stimulus Technology