All playing at the same time, Gavrilova was the first through after overcoming Caroline Dolehide 6-2 6-3 and Barty sealed a 7-5 6-3 win over Stefanie Voegele soon after.

It was Barty's first main-draw victory at the All England Club while Stosur defeated Pen Shuai 6-4 7-5 and improving her head-to-head record against Peng 9-1.

Stosur and Gavrilova will now face each other in the second round.

“One of the first things I said to Josh (Eagle) was ‘did Dasha win?’,” Stosur told the press.

“She fights incredibly well, moves very well, she’s tenacious, she’ll not give you much at certain times and then she can play aggressive but her defensive skills are also very good – some of the best in the world, I think,” she said.

Gavrilova has lost three of her last four matches against Stosur, including most recently in straight sets on clay in Strasbourg in May but they’ve never met on grass before.

“Playing Sam again this year, (it’s) crazy but I actually think that playing someone you know makes it feel less nerve-wracking," Gavrilova said.

Barty and Voegele met in the first round in Nottingham three weeks ago en route to the title but on a packed show court, the going got tough as she was 5-3 in the first set. 

However, she won eight straight games before going on to win in one hour and 17 minutes, helped by seven aces and 33 winners.

“It’s certainly nice to give myself a chance in the second round here at Wimbledon – I love these courts so it’s nice to sort of get my teeth stuck into the tournament a little bit,” Barty said.

“I think first rounds are always tough as well and Stefi came out with a bit of a different game plan to what she did a few weeks ago.

"I just needed to make a lot more balls, I was giving her way too many cheapies, and not giving myself a chance in games," she said.