It should fizzle, crackle, pop, while it burns. Other salts burn, but usually with less gusto.
You can tell by taste also. (Sounds weird, I know).
The thing is, you have to already know what they taste like, or have a known sample to compare.
Both taste more or less salty, but KNO3 has a slightly bitter after taste.