Scotland struggled against the strength and power of South Africa
Scotland (3) 3
South Africa (24) 27
Tries: Habana, Fourie, du Preez
Cons: Montgomery 3
Pen: Montgomery 2
South Africa impressed as they subdued a lively Scottish side in a comfortable World Cup warm-up win at Murrayfield.
Scotland made a bright start and took the lead with a Chris Paterson penalty, but Percy Montgomery levelled and South Africa thereafter took control.
Bryan Habana found a gap following a scrum, Jaque Fourie capitalised on more space then Fourie du Preez added a third try after intense pressure.
Montgomery converted all three and added a second-half penalty.
Kelly Brown and Dave Callam had come in for Ally Hogg and Simon Taylor as Scotland coach Frank Hadden shuffled his back-row options.
Winger Nikki Walker and prop Gavin Kerr were given a chance to stake their claim ahead of the World Cup.
South Africa captain John Smit remained sidelined with a hamstring injury, so experienced lock Victor Matfield led the Springboks.
Exciting utility back Francois Steyn returned to the starting line-up at inside centre following injury.
But, after an error-strewn opening five minutes, it was the home side who settled into their stride quickest.
Bryan Habana scored South Africa's first try at Murrayfield
Scotland's beefed-up forwards took the game to their much-vaunted counterparts, recycling possession efficiently and making encouraging yards down the middle.
And Paterson kicked them in front with a straightforward 10th-minute penalty, awarded when the Springboks were penalised for killing the ball in a ruck.
But the Springboks quickly levelled as Montgomery slotted over an equally simple penalty three minutes later after Habana went close to claiming the first try.
South Africa then took the lead in the 22nd minute when Habana was fed off the back of a scrum by Danie Rossouw and the Bulls winger scorched through a gaping hole in the Scottish defence to score his 22nd try in 28 Tests.
Fourie touched down in the 25th minute following a line break by Steyn.
The Springboks were becoming rampant, claiming their third try three minutes later.
Montgomery charged at the line and, when the full-back was stopped short, scrum-half Du Preez picked up and drove over from five yards out.
All three tries were converted by Montgomery as South Africa ended the first half well on top.
Montgomery stretched the lead further early in the second half with a penalty straight in front of the posts.
Scotland enjoyed more possession in the second half but found it difficult to make inroads against a strong South African defence.
Scotland: R Lamont; Walker, Dewey, Henderson, Webster; Paterson, Blair; Kerr, Ford, E Murray, Hines, Hamilton, White, Brown, Callam.
Replacements: Thomson, Jacobsen, S Murray, Hogg, R Lawson, Parks, Southwell.
South Africa: Montgomery; Pietersen, Fourie, Steyn, Habana; James, du Preez; du Randt, G Botha, van der Linde, B Botha, Matfield, Burger, Smith, Rossouw.
Replacements: du Plessis, B. Botha, van den Berg, van Heerden, Pienaar, Pretorius, Willemse.
Referee: C Berdos (France)