Iran maintains that the missiles that it tests don't violate its nuclear agreement with world powers because they are for defensive purposes.

"The military and missile fields...are our domestic policies and others have no right to intervene or comment on them,” Ghasemi said.

"We reserve the right to reciprocate and make an adequate response to the U.S. actions," he added.

The sanctions bill, which also targets Russia and North Korea, was passed by the U.S. Senate late last week, after being approved by the House of Representatives.

The new legislation would impose mandatory penalties on people involved in Iran's ballistic-missile program and anyone who does business with them. The measure would designate the Islamic Revolutionary Guards Corps (IRGC) as a terrorist organization and enforce an arms embargo against Iran.

White House spokeswoman Sarah Huckabee Sanders has said that President Donald Trump will sign the bill into law.

Separately on July 28, the U.S. Treasury Department imposed sanctions on six subsidiaries of an Iranian company that it said was "central" to Tehran's ballistic-missile program.

Treasury said the new U.S. sanctions announced were in response to Iran’s “continued provocative actions,” such as the July 27 rocket launch.

“The U.S. government will continue to aggressively counter Iran’s ballistic-missile-related activity, whether it be a provocative space launch, its development of threatening ballistic-missile systems, or likely support to Yemeni Huthi missile attacks on Saudi Arabia," Treasury Secretary Steven Mnuchin said on July 28.

Mnuchin said the sanctions “underscore the United States’ deep concerns with Iran’s continued development and testing of ballistic missiles and other provocative behavior.”

Also on July 28, Britain, France, and Germany joined the U.S. in condemning Iran's launch of a satellite-carrying rocket and warned that it runs counter to a UN resolution carrying out the 2015 nuclear deal.

In a joint statement, they urged Iran to stop developing missiles and rockets that are capable of carrying nuclear warheads and have "a destabilizing impact on the region."