In this work we developed the theory to characterize the structure of optimal sequential tests for experiments, introducing a random horizon, unlike an infinity horizon as in the classical theory. We analyzed the optimal sequential tests found with random horizon in terms of probability ratio and when a particular case...