Measurement and understanding of the microscopic pathways materials follow as they transform is crucial for the design and synthesis of new metastable phases of matter. Here we employ femtosecond single-shot X-ray diffraction techniques to measure the pathways underlying solid-solid phase transitions in cadmium sulfide nanorods, a model system for a general class of martensitic transformations. Using picosecond rise-time laser-generated shocks to trigger the transformation, we directly observe the transition state dynamics associated with the wurtzite-to-rocksalt structural phase transformation in cadmium sulfide with atomic-scale resolution. A stress-dependent transition path is observed. At high peak stresses, the majority of the sample is converted directly into the rocksalt phase with no evidence of an intermediate prior to rocksalt formation. At lower peak stresses, a transient five-coordinated intermediate structure is observed consistent with previous first principles modeling.