firmness

ˈfəːmnəs

noun

the quality of having a solid, almost unyielding surface or structure.

he tested the firmness of the mattress