Rubella can be diagnosed by a blood test. A throat swab can also be used. Without laboratory testing it is not possible to distinguish rubella other viral rash illnesses (such as measles).
https://www.nicd.ac.za/increase-in-rubella-cases-in-the-western-cape-province-17-october-2023/