SEOUL, South Korea — The United States, South Korea and Japan will, for the first time, jointly test their ability to detect and track North Korean missiles, a South Korean Defense Ministry official said on Monday.

The drill will be conducted on June 28 — shortly before Japan and South Korea are scheduled to join the American-led Rim of the Pacific Exercise in waters off Hawaii — and will involve destroyers equipped with the Aegis radar system, said the official, who briefed reporters on the condition of anonymity.

During the drill, the ships will test their ability to collect signs of North Korean missile launches, as well as data on missile trajectories, and they will share the information through a common channel operated by the United States, the official said.

The nations agreed to conduct the drill after North Korea’s growing missile threat was emphasized by its launching of a long-range rocket on Feb. 7, the official said. North Korea said it had used the rocket to place a satellite in orbit, but the United Nations has banned it from launching such rockets, calling them a cover for developing an intercontinental ballistic missile.