Spain warmed up for Euro 2016 Sunday with a 3-1 defeat of Bosnia-Herzegovina, while world champions Germany suffered a shock 3-1 home defeat against lively Slovakia.
These were the last matches for Spain and Germany before the final Euro squad lists are submitted to UEFA by midnight Tuesday.
In the small Swiss town of St Gallen, a makeshift Spain side - which was missing the players of Champions League finalists Real and Atletico Madrid - was led to victory by a handsome early brace from Celta Vigo striker Nolito.
Defender Emir Spahic headed in a goal for Bosnia on the half hour but then was sent off for a second yellow card offence.
Despite playing with 10 men, Bosnia came close to equalizing several times in the second half. However, Pedro made it 3-1 to Spain in stoppage time, with Bosnia leaving massive gaps at the back.
"I always enjoy playing for Spain, and I'm really happy with the goals I scored today," Nolito said.
"I really don't know if I'm going to be in the starting lineup (at Euro 2016). I just want to help Spain in whatever way I can, just as I did today."
At the finals in France, which kick off June 10, Spain will be bidding to become the first country to win three straight Euros.
Meanwhile in rainy Augsburg, Germany slipped to a 3-1 defeat against Slovakia on a water-logged pitch.
Veteran Besiktas striker Mario Gomez gave Germany an early from a penalty, but Slovakia then took control and stunned the hosts with goals from Marek Hamsik, Michal Duris and Juraj Kucka.
It was a promising display from a team that has qualified for the Euro finals for the first time.
The half-time break in Augsburg was extended to 40 minutes because of thunder, hail and torrential rain.
"I was satisfied with the attack. But we had problems in defence, to be honest," Germany coach Joachim Loew said.
Meanwhile, Germany's attacking midfielder Mario Goetze tried to put a positive spin on the defeat, saying: "It was good to play in those conditions. We may face this (at the Euros). We have a big event ahead of us and must work and train hard."
Earlier Sunday, Euro finalists Albania - who have reached a major tournament for the very first time - beat Qatar 3-1.
Later on a busy night, Romania will host Ukraine, Turkey will face Montenegro, Italy will take on Scotland and Portugal will play Norway.