Load Testing a Website with Captcha - Web Performance

Load Testing a Website with Captcha

More and more sites are having to add captcha security to thwart spam bots, making this a familiar sight:

Screen Shot 2013-02-07 at 2.07.45 PM

But what happens when you need to do performance testing on such a site? One common question on our support line is how to configure a load testing tool to read the displayed text and type it in. The whole point of adding captcha security is to prevent an automated tool from accessing the website, so if it was easily bypassed by a load testing tool, then spammers could also use that same technique to access your website!

There are three options that I can see:

  1. Completely disable captcha for the purposes of the test
  2. Configure the captcha software to accept anything that is typed as being valid
  3. Configure the captcha to display the actual value in the image somewhere in the web page where it can be parsed by Load Tester. (Obviously this must be removed before shipping.)

1 Comment

8 February 2013 Chris

Another option would be to configure the page to look for a “secret code” that allows the CAPTCHA check to be bypassed. This could take the form of a URL query parameter or form field that is not present under normal operation.

Add Your Comment

You must be logged in to post a comment.


Copyright © 2024 Web Performance, Inc.

A Durham web design company


(1) 919-845-7601 9AM-5PM EST

Just complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
How Many Concurrent Users