Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a test plan for a user for a web application. The test plan is running as expected, but on the registration screen, the user has to enter a captcha. I'm not able to handle it from Jmeter.

share|improve this question
Please frame the question with concrete details. What have you tried? What is failing ? – chuan Jul 10 '14 at 9:08
I have created a test plan for a user for a web application. Test plan is running as expected but on registration screen, user has to enter capcha. I m not able to handle it from Jmeter. After goggling I found a solution on stack over flow. – Nishant Mor Jul 10 '14 at 9:32
I found this on stack overflow: 1. Create a Beanshell Sampler In it, the following code displays the captcha and waits for user input filenameOrURL = new URL("${captchaimage}"); image = Toolkit.getDefaultToolkit().getImage(filenameOrURL); Icon icon = new javax.swing.ImageIcon(image); JOptionPane pane = new JOptionPane("Enter Captcha", 0, 0, null); String captcha = pane.showInputDialog(null, "Captcha", "Captcha", 0, icon, null, null); – Nishant Mor Jul 10 '14 at 9:33

Solution is here :

Or you can disable captcha from code before test.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.