A Mobile Ad-Hoc Network (MANET) is a collection of wireless mobile nodes forming a temporary network without using any centralized access point, infrastructure, or centralized administration. During data transmission between these nodes there may be malicious threats, attacks, and penetrations which alters the performance of the system and insecure transmission. At that time of attack, Mobility of the different nodes makes the situation even more complicated. Multiple routing protocols especially for these conditions have been developed during the last years, to find optimized routes that free from attacks from a source to some destination. But they are not a perfect solution to this problem. The focus of this paper is to test routing performance of Seven different routing protocols (AODV, DSR, ANODR, DYMO,OLSR,OSPF,LANMAR)in variable network sizes with and without wormhole attack and to analyze their performance using various metrics in Homogeneous as well as in heterogeneous network. Analytical and simulation results are presented to evaluate the performance of the routing protocols by using Qualnet4.5.