Short answer: Banks test if you can afford payments at higher rates (buffer). Check debt-to-income ratio. Limit usually 6-7x income.
Banks use a serviceability test. They check your income, expenses, debts, and then apply a buffer. They calculate if you can still afford payments if rates rise 2-3%. They also check your debt-to-income ratio. In New Zealand, most banks limit total debt to 6-7 times your annual income.
Income: $85,000
Debt To Income Limit: 6.5x
Max Total Debt: $552,500
Existing Car Loan: $15,000
Max Mortgage: $537,500