A new vehicle prior to being released has to undergo an extensive program of tests such as emission, safety and durability. Recently, some robots and electronic devices are dedicated to perform such tests instead of human drivers. In this study, control of the vehicle under durability and emission test circumstances is simulated using LabVIEW which can easily be connected to hardware for the purpose of real-time testing in the drive-by-wire-system. A longitudinal model of the vehicle is modeled with the brake and the throttle as inputs and the velocity, the position and the main components of exhaust gas as outputs. To control the vehicle a nonlinear fuzzy controller is designed and applied and the position of the vehicle is interrogated. The kinematics of the vehicle is included in the model to transform the velocity to the Cartesian position of the vehicle.