The drill came in response to India threatening to tear up a vital water-sharing treaty with Pakistan.
Pakistan has test fired a ballistic missile as tensions with India spiked over last month's deadly attack on tourists in the disputed Kashmir region.
The surface-to-surface missile has a range of 450km, the Pakistani military said.
There was no immediate comment about the launch from India, which blames Pakistan for the April 22 gun massacre in the resort town of Pahalgam, a charge Pakistan denies.
READ MORE: Labor retains power in vote seen as test of anti-Trump sentiment
Pakistan's military said the launch on Saturday of the Abdali Weapon System was aimed at ensuring the "operational readiness of troops and validating key technical parameters," including the missile's advanced navigation system and enhanced manoeuvrability features.
Pakistan's President Asif Ali Zardari and Prime Minister Shehbaz Sharif congratulated those behind the successful test. Missiles are not fired toward the border area with India; they are normally fired into the Arabian Sea or the deserts of south-west Balochistan province.
Islamabad-based security analyst Syed Muhammad Ali said Saturday's missile was named after a prominent Muslim conqueror of India, underlining its symbolic significance.
"The timing of this launch is critical in the current geopolitical context," Ali told The Associated Press.
He said the test was intended as a strategic signal to India after it had threatened to suspend a crucial water-sharing treaty.
India's navy said on April 27 that its vessels had successfully undertaken anti-ship firings to "revalidate and demonstrate readiness of platforms, systems and crew for long-range precision offensive strike."
READ MORE: Who is Ali France, the Labor MP who conquered Peter Dutton?
Kashmir is split between India and Pakistan and claimed by both in its entirety.
They have fought two of their three wars over the stunning Himalayan region and their ties have been shaped by conflict, aggressive diplomacy and mutual suspicion, mostly due to their competing claims over Kashmir.
The latest flare-up led the two countries to expel each other's diplomats and nationals, as well as the shuttering of airspace.