{"id":4073,"date":"2013-02-07T15:18:17","date_gmt":"2013-02-07T19:18:17","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?p=4073"},"modified":"2013-05-14T14:15:43","modified_gmt":"2013-05-14T18:15:43","slug":"load-testing-a-website-with-captcha","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2013\/02\/load-testing-a-website-with-captcha\/","title":{"rendered":"Load Testing a Website with Captcha"},"content":{"rendered":"<p>More and more sites are having to add <a href=\"http:\/\/www.captcha.net\" target=\"_blank\">captcha security<\/a> to thwart spam bots, making this a familiar sight:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2013\/02\/Screen-Shot-2013-02-07-at-2.07.45-PM.png\" alt=\"Screen Shot 2013-02-07 at 2.07.45 PM\" width=\"326\" height=\"278\" class=\"aligncenter size-full wp-image-4075\" \/><\/p>\n<p>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!<\/p>\n<p>There are three options that I can see:<\/p>\n<ol>\n<li>Completely disable captcha for the purposes of the test<\/li>\n<li>Configure the captcha software to accept anything that is typed as being valid<\/li>\n<li>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.)\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>More and more sites are having to add <a href=\"http:\/\/www.captcha.net\" target=\"_blank\">captcha security<\/a> to thwart spam bots, making this a familiar sight:<\/p>\n<p>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!<br \/>\nThere &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2013\/02\/load-testing-a-website-with-captcha\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[170,237,30],"class_list":["post-4073","post","type-post","status-publish","format-standard","hentry","category-load-testing","tag-captcha","tag-load-testing","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/4073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=4073"}],"version-history":[{"count":10,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/4073\/revisions"}],"predecessor-version":[{"id":4217,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/4073\/revisions\/4217"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=4073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=4073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=4073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}