Heart rate variability (HRV) analysis represents an important tool for the characterization of complex cardiovascular control. HRV indexes are usually calculated from electrocardiographic (ECG) recordings after measuring the time duration between consecutive R peaks, and this is considered the gold standard. An alternative method consists of assessing the Pulse Rate Variability (PRV) from signals acquired through photoplethysmography, a technique also employed for the continuous noninvasive monitoring of blood pressure. In this work, we carry out a thorough analysis and comparison of short term variability indexes computed from HRV time series obtained from the ECG and from PRV time series obtained from continuous blood pressure (CBP) signals, in order to evaluate the reliability of using CBP-based recordings in place of standard ECG tracks. The analysis has been carried out on short time series (300 beats) of HRV and PRV in 76 subjects studied in different conditions: resting in the supine position, postural stress during 45° head-up tilt, and mental stress during computation of arithmetic test. Nine different indexes have been taken into account, computed in the time domain (mean, variance, root mean square of the successive differences), frequency domain (low-to-high frequency power ratio LF/HF, HF spectral power and central frequency) and information domain (entropy, conditional entropy, self entropy). Thorough validation has been performed using comparison of the HRV and PRV distributions, robust linear regression, and Bland-Altman plots. Results demonstrate the feasibility of extracting HRV indexes from CBP-based data, showing an overall relatively good agreement of time, frequency, and information domain measures. The agreement decreased during postural and mental arithmetic stress, especially with regard to band-power ratio, conditional and self entropy. This finding suggests to use caution in adopting PRV as a surrogate of HRV during stress conditions.