The main contribution of this work is a bootstrap test to check the independence between temporal nonhomogeneous Poisson processes. The test statistic is based on the close point relation, which adapts the crossed nearest neighbour distance ideas of spatial point processes to the case of nonhomogeneous time point processes. Since it is complicated to obtain the probability distribution of the test statistic under the null hypothesis and the parameters of the processes are usually unknown, the \(p\) value is obtained using a parametric bootstrap approach. A simulation study shows that the size of the test is close to the nominal one. The power is analyzed considering three approaches for generating dependent nonhomogeneous processes and different levels of dependence, and satisfactory results are obtained in all cases. Although the test was initially intended for Poisson processes, it can be applied to any type of point process in one dimension which can be simulated. This test is a valuable tool in the validation analysis of common Poisson shock models. For the bivariate case, the process can be decomposed into three independent Poisson processes, and the assumption of independence between them has to be checked. As an application, the joint modeling of the occurrence process of extreme heat events in daily maximum and minimum temperatures is described.