KARACHI (AFP) - Openers Ahmed Shahzad and Azhar Ali hit contrasting centuries for Patron's XI in the warm-up match against Sri Lanka here Tuesday to press claims for a Test place. Shahzad, aged just 17, scored an aggressive 146 while Ali notched a sedate 100 as Sri Lanka's bowlers toiled hard on a placid Defense Stadium pitch - their only warm-up match before the first of two Tests starting here on February 21. The pair helped Patron's XI reach 395-4 at close on the first day after home team captain Shahid Afridi won the toss and decided to bat. At close Asim Kamal was unbeaten on 18 and Sarfraz Ahmed on 13 not out. Shahzad, who represented Pakistan in the Junior World Cup last year, hit 22 boundaries and a six during his 174-ball knock and added 204 runs with Ali. Shahzad had to retire after he was hit in the groin by a delivery from paceman Thilan Thushara. Ali, who took 54 deliveries to open his account, hit nine boundaries and two sixes during his 208-ball innings, making a strong case for selection for Pakistan in near future. Afridi, who is pressing for a Test recall, hit eight boundaries and a six during his rapid-fire 29-ball 49. Sri Lankan spinner Muttiah Muralitharan went wicketless in 11 overs, while Ajantha Mendis took 1-69. Muralitharan was unlucky not to have dismissed Shahzad when skipper Mahela Jayawardene spilled a catch in the slips. Shahzad was then 74. SCOREBOARD Patrons XI Innings Azhar Ali c Paranavithana b Mahroof 100 Ahmed Shahzad retired hurt 146 Bazid Khan c Warnapura b Vass 11 Saeed bin Nasir c Lakman b Dilshan 41 Shahid Afridi c Fernando b Mendis 49 Asim Kamal not out 18 Sarfaraz Ahmed not out 13 (Did not bat Wahab Riaz, Najaf Shah, Fahad Masood, Yasir Shah). EXTRAS (LB7, NB10) 17 TOTAL (for four in 90 overs) 395 Fall of wicket: 1-251, 2-300, 3-311, and 4-372. BOWLING: Chaminda Vass 10-3-27-1 (NB1) Dilhara Fernando 10-3-30-0 (NB1) Farveez Mahroof 12-2-30-1(NB3) Thilana Tushara Mirando 11-1-69-0 Ajantha Mendis 11-1-69-1 (NB1) Suranga Lakmal 11-1-69-0 (NB3) Muthiah Muralitharan 11-1-51-0 T.M.Dilshan 8-0-43-1.