This paper reports the commissioning of the vertical magnetic measurement system and the room temperature (warm) and cryogenic (cold) magnetic field measurements of the first full-length (4.2 m) quadrupole built by the U.S. Accelerator Upgrade Project (AUP) (formerly the LARP collaboration) for the high luminosity upgrade of the Large Hadron Collider at CERN. The magnet, designated MQXFAP2, is a prototype preceding production for the AUP which will provide ten sets of 8.4-m superconducting insertion region quadrupoles for the Hi-Lumi Upgrade. The quadrupoles will be built by assembling two 4.2-m magnets in a single cryostat. Agreement between Brookhaven National Laboratory's (BNL's) and Lawrence Berkeley National Laboratory's (LBNL's) warm measurement data has indicated that the upgraded vertical magnetic measurement system at Brookhaven National Laboratory is ready for MQXFA magnet production testing. The cold magnetic measurement has been performed and preliminary data analysis has been conducted.