Guptill century puts New Zealand in strong position

Martin Guptill and Kane Williamson set the platform then captain Brendon McCullum provided the fireworks as New Zealand posted a strong first innings score in the first test against Sri Lanka in Dunedin on Thursday.

Guptill, who had received a tacit warning he may have been playing for his place in the side, struck his third test century, while Williamson fell just short of his 13th as they combined in a record 173-run second wicket partnership.

"The way we batted throughout and the way we were able to rotate the strike and get the strike rate going was really pleasing," Guptill told reporters of the partnership.

McCullum, who is likely to be playing his final test in his home city before his expected retirement after the World Twenty20 in March, then smashed Sri Lanka's bowlers around the picturesque University Oval to accelerate his side's innings.

McCullum scored 75 runs from 57 balls in a little under an hour before his side reached the close of the first day on 409-8, with Doug Bracewell on 32 and Neil Wagner yet to score after the visitors took six wickets in the final session.

The 34-year-old McCullum made a streaky start but opened up to dominate the 89-run fourth-wicket stand with Guptill (156), who had earlier put the hosts in a strong position with Williamson.

Guptill, who had a poor run in the recent Australia series, was finally dismissed with five overs remaining when he was caught by wicketkeeper Dinesh Chandimal off Angelo Mathews.

"Any time you get a hundred you're satisfied but to be able to kick on and get to 150 was pretty pleasing and it set the game up well for us," Guptill added.

"They (the coaching staff) have been good to me and given me a good run in the test side and today capped off a lot of hard work over the last 18 months to get back in the test side."

Williamson, who has scored almost 1,000 test runs in 2015, never appeared in trouble at the crease as he guided the ball around the field at will before he was well caught at slip by Dimuth Karunaratne off Nuwan Pradeep for 88 just before tea.

The pair's record second-wicket stand for New Zealand against Sri Lanka had stymied any assistance the visitors had hoped to extract from the green-tinged pitch after winning the toss.

The visitors, however, clawed their way back into the game after McCullum departed when he top-edged the third delivery of left-arm spinner Milinda Siriwardana's first over and was caught at deep square leg by Kithuruwan Vithanage.

Dushmantha Chameera then got rid of both Mitchell Santner (12) and BJ Watling (five) to check the scoring rate before Guptill and Tim Southee (two) fell to Mathews and Suranga Lakmal respectively.