Gas Electron Multipliers (GEM) are an interesting technology under consideration for the future upgrade of the forward region of the CMS muon system, specifically in the $1.6<| eta |<2.4$ endcap region. With a sufficiently fine segmentation GEMs can provide precision tracking as well as fast trigger information. The main objective is to contribute to the improvement of the CMS muon trigger. The construction of large-area GEM detectors is challenging both from the technological and production aspects. In view of the CMS upgrade we have designed and built the largest full-size Triple-GEM muon detector, which is able to meet the stringent requirements given the hostile environment at the high-luminosity LHC. Measurements were performed during several test beam campaigns at the CERN SPS in 2010 and 2011. The main issues under study are efficiency, spatial resolution and timing performance with different inter-electrode gap configurations and gas mixtures. In this paper results of the performance of the prototypes at the beam tests will be discussed.