Match ends, Germany 6, Armenia 1.
Miroslav Klose became Germany's record goalscorer in a comfortable win against Armenia, but forward Marco Reus was ruled out of the World Cup.
Klose, 35, came off the bench to head in his 69th international goal as Joachim Low's side found some rampant form in the final 20 minutes.
But Reus, who was in tears as he left the pitch, picked up an ankle injury and will now not fly to Brazil.
Armenia were level with 20 minutes to go before Germany hit lethal form.
A goalless first-half ended with Borussia Dortmund forward Reus going over an ankle and being replaced by Arsenal's Lukas Podolski.
Podolski made the opener for Chelsea's Andre Schurrle early in the second half, Schurrle flicking in with a delightful backheel at the near post.
Arsenal's record signing Mesut Ozil hit a post after a lovely move but Germany were then embarrassed when substitute Kevin Grosskreutz gave away a penalty immediately after coming on, bringing down Dortmund team-mate Henrikh Mkhitaryan, who scored from the spot.
The upset was on but a flurry of four goals in 10 minutes killed Armenia off. First Podolski ran on to Ozil's lovely pass and swept home left-footed, defender Benedikt Howedes scored at the second attempt and then crossed for Klose to head in and eclipse Gerd Muller's long-standing national team record.
Klose is the only out-and-out striker in the German squad and can become the leading scorer in World Cup history with two goals in Brazil.
Another substitute, Mario Gotze, then helped himself to a late brace, firing in from another Podolski pass before burying the loose ball after good work from Grosskreutz.
Germany start their World Cup campaign against Portugal on 16 June.
For the best of BBC Sport's in-depth content and analysis, go to our features and video page.
- 20BoatengSubstituted forGroßkreutzat 67'minutes
- 6KhediraSubstituted forSchweinsteigerat 59'minutes
- 16LahmSubstituted forÖzilat 45'minutes
- 9SchürrleSubstituted forGötzeat 75'minutes
- 13MüllerSubstituted forKloseat 67'minutes
- 21ReusSubstituted forPodolskiat 45'minutes
- 8HovsepyanSubstituted forSarkisovat 74'minutes
- 22ManucharyanSubstituted forTumasyanat 77'minutesBooked at 90mins
- 24da Silva
- Harald Lechner
- Shots on Target
Second Half ends, Germany 6, Armenia 1.
Aleksandr Tumasyan (Armenia) is shown the yellow card for a bad foul.
Benedikt Höwedes (Germany) wins a free kick in the defensive half.
Foul by Aleksandr Tumasyan (Armenia).
Goal! Germany 6, Armenia 1. Mario Götze (Germany) right footed shot from the centre of the box to the bottom left corner. Assisted by Miroslav Klose.
Attempt blocked. Lukas Podolski (Germany) left footed shot from the centre of the box is blocked. Assisted by Kevin Großkreutz.
Corner, Armenia. Conceded by Roman Weidenfeller.
Attempt saved. Gevorg Ghazaryan (Armenia) right footed shot from outside the box is saved in the top centre of the goal. Assisted by Artur Yedigaryan.
Attempt missed. Miroslav Klose (Germany) left footed shot from the centre of the box is too high. Assisted by Mesut Özil with a cross following a corner.
Corner, Germany. Conceded by Varazdat Haroyan.
Attempt blocked. Lukas Podolski (Germany) left footed shot from a difficult angle on the left is blocked. Assisted by Miroslav Klose with a headed pass.
Attempt missed. Varazdat Haroyan (Armenia) header from the centre of the box is too high. Assisted by Henrikh Mkhitaryan following a set piece situation.
Foul by Miroslav Klose (Germany).
Henrikh Mkhitaryan (Armenia) wins a free kick in the attacking half.
Goal! Germany 5, Armenia 1. Mario Götze (Germany) left footed shot from the centre of the box to the bottom left corner. Assisted by Lukas Podolski with a through ball.
Foul by Toni Kroos (Germany).
Henrikh Mkhitaryan (Armenia) wins a free kick in the defensive half.
Attempt blocked. Aleksandr Tumasyan (Armenia) right footed shot from outside the box is blocked.
Corner, Armenia. Conceded by Mats Hummels.