Issue #3164589 by ankithashetty, paulocs, S_Bhandari, Suresh Prabhu Parkala, mondrake, longwave: Replace assertions that use $this->getSession()->getResponseHeader() with WebAssert methods