Similar questions have been asked before, you may search. (I'm sorry but I cannot refer to one here)
You want to identify an analog LTI system from analysing its response $y(t)$ to a known input $x(t)$.
One method of analysis involves the use of continous Fourier transforms of the input and output signals. It can be shown that (for a stable system)
$$H(j\Omega) = \frac{Y(j\Omega)}{X(j\Omega)} $$
Considering a continuous time analog LTI system, this method requires some convenient techniques to compute the Fourier transforms of the input and output signals. This method has practical limitations due to understandable reasons.
With the advent of digital computers and availability of dedicated hardwares, a more implementable approach has been developed during the rise of digital signal processing era, based on the sampling theorem to represent the continuous time signals by their samples, i.e., the continuous time analog system is represented in the form of an equivalent (and in a one to one relation to its continuous time counterpart) digital LTI system, as long as some necessary conditions are met.
An analysis based on the taken samples of input and output signals, however, should be handled with care, as the most critical element of success in this method relies on the fact that the continuous time system's frequency response function $H(j\Omega)$ be bandlimited to the half of the sampling frequency $\Omega_s = 2\pi F_s$, so that it can be digitally represented in an equivalent digital LTI filter with DTFT $H(e^{j\omega})$
If you know that this condition is satisfied, then there are other details such as the fact that Fourier transforms provide information on steady-state behaviour and not on the dynamic transients that will happen in any finite length measurements. (That can be avoided with longer recording durations, as you intent to do)
Also note that the LTI analog system must be stable so that its CTFT $H(e^{j\Omega})$ exists. Most often it will be stable I assume, but it's still important to consider though.
Finaly any noise and/or distortions on both the input and output signals not only prevent high precision computations but can even lead to misleading results.
So I suggest you to begin with a known setup first and apply your method to see if it can also identify that known LTI system. If yes, then you are ok.