Asian Games silver medallists Japan came back from a goal down to beat Brazil 2-1 on Sunday in a tune-up game for the women's World Cup later this month in China.
The Brazilian women outdid Japan 16-8 on shots at the goal and took the lead after Marta Vieira da Silva snatched a Japanese pass for Grazielle Pinhiro Nascimento's left-footer in the 35th minute.
But Japan cashed in on Aya Miyama's free kick to the centre, where defender Azusa Iwashimizu struck home in the 59th minute. Another free kick by Miyuki Yanagita caused an own goal to give Japan the victory six minutes later.
In the World Cup to be played in five Chinese cities of Wuhan, Chengdu, Hangzhou, Shanghai and Tianjin from September 10-30, Japan were drawn with defending champions Germany, England and Argentina in Group A.
The top two teams from the group will reach the quarter-finals.