How do you know if your dishwasher pump is bad?

If your dishes are not being cleaned and washed properly and it is taking more time to fill the water tank in the dishwasher then you can say that your dishwasher pump is bad. Also, you can face leakage from the bottom of your dishwasher because of a bad dishwasher pipe.