What is web application penetration testing, why is it necessary, what types are there, and how is it performed? When…