Load Test .Net Application with ReCaptcha

45 views
Skip to first unread message

TheCheeta

unread,
Jul 17, 2008, 3:52:01 PM7/17/08
to reCAPTCHA
We'd like to load test our .Net application, including the server
calls to ReCaptcha, without actually validating the ReCaptcha results.
ReCaptcha will make Page.IsValid = false, which would prevent us from
getting all the way through the user creation process. What is the
best way to have our load test go through the entire process,
including the call to ReCaptcha, but have the ReCaptcha validation not
impact the validation of the page?

Paul Herring

unread,
Jul 17, 2008, 8:00:46 PM7/17/08
to reca...@googlegroups.com

You can't unless you ignore the result of the call. Which you can't do
if you don't want to change code. Which probably negates some other
tests you're doing.

I'd perhaps suggest you have a 'switch' to turn recaptcha on and off
in your code, and turn it off for any automated testing requiring any
'successful' recaptchas. Or create a wrapper object that either
displays/processes recaptcha or returns true.

--
PJH

'Two Dead in Baghdad' not 'product-friendly' - Kent Ertugrul, chief
executive of Phorm.

http://shabbleland.myminicity.com/env

reCAPTCHA Support

unread,
Jul 17, 2008, 8:53:40 PM7/17/08
to reca...@googlegroups.com
Hi,

We recommend that you find the average response time for reCAPTCHA using ping and use a sleep call to simulate that response time during load testing.

- Ben
--
reCAPTCHA: stop spam, read books
http://recaptcha.net
Reply all
Reply to author
Forward
0 new messages