Javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) | JMeter Forum
20% Off Lockdown Learning Discount Avail now

javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

S
Sharat Khajuria Post on 02/04/2020

I am stuck on Training Module 26 Time 28:00

where i am fetching SessionID value from Login Sampler and using the same sessionID value in Add Category sampler

Post execution of Jmeter Script, Login sampler is sucessfully executed and its shows sessionID value in Response Body

However, Add Category sampler execution has failed with Response code 500 and Response body shown as javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

Screenshot is attached for your reference.

Please help to resolve this issue as i am unable to proceed further in Module 26 Video Time 28:00

A

Instructor

Abhishek Puri Reply on 02/04/2020

Please share your JMX file.

We need to analyze the JMX file before suggesting a solution.

S
Sharat Khajuria Reply on 02/04/2020

jmx file is attached. Please check and confirm the solution

A

Instructor

Abhishek Puri Reply on 06/04/2020

Please make sure that the database set up by you is accessible. Additionally, share the screenshot of the same error, along with the complete text in a text file.