Thanks to the rising focus on deep-space exploration and exploitation, the demand for sustainable and efficient navigation approaches has become crucial. Standard ground-based radiometric tracking, while accurate, is expensive and resourceintensive, posing long-term sustainability challenges. Therefore, enhancing spacecraft autonomy is crucial to avoid ground station saturation. Autonomous onboard guidance, navigation, and control (GNC) offer cost reduction and expand interplanetary exploration opportunities. Among various navigation alternatives, vision-based navigation (VBN) stands out for its cost-effectiveness, ground independence, and applicability to different spacecraft classes. Ground testing campaigns are crucial to ensure accurate and robust vision-based navigation algorithms for interplanetary missions. However, obtaining real interplanetary sky-field images for validation is challenging due to limited successful missions and datasets. To overcome these limitations, high-fidelity rendering engines and hardware-in-the-loop (HIL) simulations are necessary to generate image datasets for testing. This work presents the development of a procedure for on-ground testing and validation of autonomous navigation algorithms for interplanetary cruises using Jena Optronik's Optical Sky Stimulator (OSI) at the DLR GNC Department in Bremen. The proposed paper includes preparation activities, calibration and compensation procedures, and final hardware-in-the-loop simulations.