However, pleural fluid testing is not perfect, and the final decision about whether a fluid is a transudate or an exudate is based not on chemical analysis of the fluid, but on accurate diagnosis of the disease that produces the fluid.