A set of microstrip gas chamber (MSGC) prototypes, developed for the barrel Tracking Detector of the CMS experiment at LHC, has been tested in a beam. The chambers were 10 cm long, with Pestov or diamond coated glass substrate. The results on the performance of the chambers are reported. The spatial uniformity of the chambers is also illustrated.