The North Koreans were testing the missile so they could export it to Iran in return for oil. Japanese and United States officials waited a few days before disclosing the launch of the missile.
North Korea's missile test was intended as a way to secure oil from Iran, with the sale serving as a means of funding their program. The delay in disclosing the test by Japanese and U.S. officials highlights the strategic importance of this event.