A stimulation system for treating a patient comprises: a stimulator comprising at least one stimulation element for delivering stimulation to the patient, the delivered stimulation based on a set of stimulation settings; a controller for adjusting a stimulation setting of the stimulator; and a diagnostic device for measuring a physiologic response to the test stimulation on the patient. The set of stimulation settings comprise a set of test stimulation settings and a set of therapeutic stimulation settings. The stimulation comprises test stimulation delivered to the patient for a test duration, and therapeutic stimulation delivered to the patient for an extended duration. The test stimulation is based on the set of test stimulation settings and the therapeutic stimulation is based on the set of therapeutic stimulation settings. The set of therapeutic stimulation settings is based on an assessment of the measured physiologic response. Methods of delivering stimulation are also provided.