That proved a mere consolation for the visitors at the Wanda Metropolitano, though, with Isco on target again shortly after the restart to put Spain in total control.

The Real Madrid playmaker continued to build on an eye-catching individual performance by helping to tee up Thiago Alcantara for Spain's fine fourth, Lopetegui's side sending a warning shot ahead of the World Cup with a fifth via substitute Iago Aspas, who set up Isco to claim the match ball soon after.

Argentina defender Javier Mascherano endured a miserable night to overshadow a proud landmark as he equalled Javier Zanetti's national record of 142 caps, while Jorge Sampaoli's men were shorn of attacking threat in Messi's absence.

142 - Including the game against Spain, Javier Mascherano equals Javier Zanetti as the most capped player for Argentina. Chief. pic.twitter.com/9KrL9fxzYm

The visitors should have taken the lead in the eighth minute, Gonzalo Higuain getting in front of Sergio Ramos in the box but cushioning his effort from a left-wing Maximiliano Meza cross wide.

Spain soon punished that miss as Costa scored from close range, although he was hurt in the process by colliding with Sergio Romero.

Andres Iniesta won the ball deep in Argentina territory, with Asensio poking a pass through for Costa to beat Romero to the ball and finish bravely. Both players were initially able to play on after a lengthy delay for treatment, although Romero was then substituted.

Meza almost marked his first international appearance with a goal but Ramos made a fine interception after the debutant swapped passes with Higuain and shaped to shoot.

Ramos appeared to have tucked away another for the hosts, firing in Asensio's cross, but the goal was disallowed for a push, Otamendi then close to a second but seeing his header clip the outside of the post.

Article continues below

Spain are known for possession football but a long De Gea kick down the middle allowed Aspas to add his name to the scoresheet, Caballero beaten far too easily after racing out of his area, with the striker then teeing up Isco to steer home his hat-trick goal.

Tempers threatened to boil over in the closing stages as Argentina lost their composure, while Dani Parejo came off the bench to make his Spain debut and cap a fine night for Lopetegui, whose side look the team to beat in Russia.

For Sampaoli, he can only hope the Messi factor will provide the spark his side clearly needs to be a threat come June.