I want to run performance testing using 100 users by using JMeter CSV data set config, I have added 100 different users in CSV file which are incorrect. when i run the script in run properly, i was expecting it should show me the error than username and password is incorrect
JMeter automatically treads HTTP Status codes below 400
as successful, it doesn't do any extra checks.
So if your application responds with HTTP Status Code below 400 JMeter won't fail the sampler. If you need to test whether is user logged in or not add Response Assertion as a child of the relevant HTTP Request sampler and configure it to test whether response contains something which indicates logged in user, i.e. Welcome
text or something like that or vice versa, that it doesn't contain elements of login page.
See How to Use JMeter Assertions in Three Easy Steps article to learn more about conditionally failing JMeter samplers using Assertions.