Hydrostatic blasting test can be used to verify the bearing capacity of the pipeline in service. Spiral weld cracks and dents are common defects of pipes, and nozzle repair is a common repair method of perforated pipes. In order to determine the carrying capacity of the X52 pipeline with the above defects and the repaired structure, the corresponding pipe specimens were tested by hydraulic experiment, the yield pressure and burst pressure were recorded for each case. The axial and circumferential strains of the defect and repaired structure were measured in detail, the wall thickness and perimeter of the specimen before and after the experiment were measured, and the failure mechanism was analyzed. According to the relative safety factor in the standard, the bearing capacity of the pipeline was determined.