Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
326 views
in Technique[技术] by (71.8m points)

Registration flow is failing in jmeter and application throws You cannot proceed with such operation, your reCaptcha reputation is too low. Error

I am using Jmeter to automate the registration flow of the application.

I have used HTTP(S) Test Script Recorder and recorded the entire application flow. Once I fill the form and hit Register Button. The application is giving me

You cannot proceed with such operation, your reCaptcha reputation is too low.

and hence registration is not successful.

The Registration form also uses 3 hidden fields and form_key is dynamic and other 2 is empty. I have given the Request payload of those 3 hidden fields

-----------------------------285644297641549410313962484796
Content-Disposition: form-data; name="form_key"

ytIteIXb0UyXcoPf

-----------------------------285644297641549410313962484796
Content-Disposition: form-data; name="success_url"


-----------------------------285644297641549410313962484796
Content-Disposition: form-data; name="error_url"

I am stuck as I cant proceed with the registration flow itself. Please help me with the same.

question from:https://stackoverflow.com/questions/65645134/registration-flow-is-failing-in-jmeter-and-application-throws-you-cannot-proceed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

reCaptcha is one of implementations of CAPTCHA which stands for Completely Automated Public Turing test to tell Computers and Humans Apart so there is nothing you can do about it using JMeter.

You should disable this CAPTCHA check for the duration of the load test because your test should focus solely on your application functionality so you need to exclude at least this CAPTCHA challenge as well as any other external resources (3rd-party scripts, fonts, banners, images, videos, etc.) from your load test scope

With regards to these "hidden" fields - they need to be properly correlated before replaying.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...