1
votes

Actually manually my gmail account proper open but SMTP sampler give the error, PLZ help me and give me a answer.

Sampler Result :

Thread Name: Thread Group 1-1 Sample Start: 2016-02-01 10:49:54 IST Load time: 3032 Latency: 0 Size in bytes: 16 Headers size in bytes: 0 Body size in bytes: 16 Sample Count: 1 Error Count: 1 Response code: 500 Response message: AuthenticationFailedException: authentication failed - wrong username / password! javax.mail.AuthenticationFailedException: 534-5.7.14 Please log in via your web browser and 534-5.7.14 then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/answer/78754 m86sm39534293pfi.27 - gsmtp

Response headers:

SampleResult fields: ContentType:

DataEncoding: null

SMTP Sampler ScreenShoot : enter image description here

1

1 Answers

2
votes
Make sure that enable below mentioned setting for your gmail account
**1.**You need to TURNED ON Less secure apps

https://www.google.com/settings/security/lesssecureapps

**2.**Allow each app to send email Go to

https://accounts.google.com/b/0/DisplayUnlockCaptcha

And click on Continue.
Now try to execute your thread.