The dynamic stiffness test of foundation and pile foundation is also aimed to provide dynamic design parameters of some important equipment foundation under vibration load. Through the dynamic stiffness test of foundation and pile foundation, the working performance of foundation and pile foundation under vibration load is understood, and the necessary dynamic design parameters of foundation and pile foundation are provided. According to the characteristics of continuous or intermittent vibration of soil and pile foundation, the vibration tests of natural foundation and pile foundation are carried out to measure the compressive stiffness, shear stiffness, bending stiffness coefficient, axial vibration damping ratio and horizontal and rotary coupling vibration damping ratio of natural foundation and pile foundation. Combined with the engineering characteristics of the gas-steam combined cycle power station, the gas turbine is a periodic vibration device. Therefore, this paper mainly studies the comparison and analysis of the dynamic stiffness test of natural ground foundation and pile foundation in forced vibration test.