A person with viral arthritis will complain of joint swelling that occurs shortly after an infection caused by a virus. Or a person may have joint symptoms after getting a vaccine against a virus. Blood tests for these viruses can often confirm that the joint swelling and pain are caused by the infection.