According to major design codes such as ASME BPVC Sec. VIII Div. 1 (UG-99 to UG-102) and API 510 NDT should generally be performed before the hydrostatic test.
NDT should be conducted before the hydrostatic test. Performing the hydrotest first could result in potential failure if undetected...