0

I am having a get request containing reCaptcha on submitting a contact form with a Post request.
And when making scripts for Performance testing, there in response, reCaptcha value, which is needed in the post request. Can anyone help me out with that?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Everest
  • 41
  • 1
  • 8

1 Answers1

0

CAPTCHA is the acronym for "Completely Automated Public Turing test to tell Computers and Humans Apart" so this is exactly what it is used for: make automation very hard or even impossible in order to protect against bots and DDoS attacks.

Theoretically you could use machine vision combined with machine learning in JSR223 Test Elements using Groovy language but it will consume really a lot of CPU and RAM even for 1 user and won't guarantee 100% success.

So if reCaptcha isn't your primary functional or performance test target instead of trying to bypass it I would recommend asking your developers or devops to disable it for the duration of the performance test as you need to focus solely on your application, all 3rd-party content and integration should be switched off or moved out of the testing scope by any other means.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • Its in the requirement, according to it, at the captcha, need to check the load time, functionality, in that case, need to identify that it is a bot or human, submission for 5-sec duration. Any solution as its having reCaptcha V3, used in the site. – Everest Jun 17 '22 at 08:36
  • Can anyone help me – Everest Jun 20 '22 at 09:48
  • can u help me with this – Everest Jun 22 '22 at 07:22