An infection or inflammation can be detected through blood tests and/or at times a procedure known as arthrocentesis. A needle is inserted into your swollen knee, a little degree of fluid is removed from inside of your knee joint by using a needle and despatched into a laboratory for Investigation. https://www.theorthopaedicandpainpractice.com/non-surgical-treatments-for-knee-joint-pain/