The Dragon capsule, designed to carry astronauts, will collect data to prove the spaceship is safe for astronauts.