The invention provides a megawatt wind power generation adjustable blade bearing friction moment numerical control testing machine and a testing method. The tested bearing outer ring is fixed on the machine rack; a main axis is equipped, one end of the bearing inner ring is fixed on the bearing inner ring, the other end is equipped with a radial and axial loading mechanism, in which the radial and axial load cylinder are separately pressured, and is equipped with variable-frequency motor of torque sensor, the driving pinion is meshed with the tested bearing inner ring, which form the loading and transmission system. The testing machine is determined by force analysis and analog loading principle, which is reasonable and reliable, and has simple structure and small size. The closed-loop numerical control system, which is composed of an industrial computer, a hydraulic pressure control member, a hydro cylinder, a feedback element and other components, can realize overall monitor, data collection, analysis, process, and number and graph double output; the size, direction, variation period of the load are accurate, the curves of the load output and friction torque are intuitive, the testing process is highly automatic. And the invention can be matched with manual adjustment. The machine is shutdown automatically if any failure happens. The test provides data support for the bearing wind turbines, which assures that the machine can meet the test need after loading.