Iran said on Saturday missile tests were part of its defensive needs and were not directed against any country, after Washington said Tehran had test-fired a medium-range missile.
A US defence official said Iran tested what appeared to be a medium-range ballistic missile on Wednesday that travelled about 1,000 km (620 miles), adding that the test did not pose a threat to shipping or US personnel in the region.
"An informed source at the staff of the armed forces said Iran's missile tests are natural within its defensive needs. This missile capacity is not against any country, and only aims to respond to possible aggression," Iranian news agencies reported.
"Iran does not need the permission of any power in the world for its self-defence," the reports quoted the military source as saying.
US President Donald Trump pulled out of an international agreement on Iran’s nuclear programme last year and stepped up sanctions on Tehran.
He said the nuclear deal was flawed because it did not include curbs on Iran's development of ballistic missiles or its support for proxies in Syria, Yemen, Lebanon and Iraq.
Iran has ruled out talks with Washington over its military capabilities, particularly the missile programme that it says is defensive. It denies the missiles are capable of being tipped with nuclear warheads and says its nuclear programme is peaceful.
A US defence official said Iran tested what appeared to be a medium-range ballistic missile on Wednesday that travelled about 1,000 km (620 miles).