In portfolio management, stress testing is a crucial risk management application that helps assess the potential impact of extreme market conditions on a portfolio's value. Stress tests simulate hypothetical situations that could lead to significant losses. Which of the following best describes the primary purpose of conducting stress tests on investment portfolios?