Yes, SpaceX has had test and launch failures, while NASA has an unblemished record of only success! s/
I am old enough to remember the constant stream of launch failures leading up to the first success by the Army. The Navys Vanguard constantly failed and the Armys Explorer just worked.
NASA used to be a Can-Do! engineering organization. Now, it is a Cant-Do! bureaucracy. SpaceX has put several well-deserved kicks in NASAs kiester. Maybe they will finally turn away from Muslim Outreach and PC Diversity and get down to business.
SpaceX is revolutionizing space travel.
SpaceX has a 96.88% launch success rate (62 out of 64) with the Falcon 9. This launch success is with five major design changes for the Falcon 9 rocket.
There has been 84% success on landing first stages (31 out of 37). All landings in 2017 and 2018 have been successful other than the loss of the center stage for the Falcon Heavy.
There has been 100% success on re-flights (17 out of 17) of boosters.