The trapping and acceleration of a test electron in a nonlinear plasma wave is analyzed in one dimension using Hamiltonian dynamics. The plasma wave is described by a nonlinear, cold fluid model. The maximum energy gain and the minimum energy required for trapping of the test electron are determined...