Cook it separately from the rest of the soup. That way, you can cook the pasta to your desired level (I like mine al dente), without underdoing the rest of the ingredients. Also, when storing, keep the pasta out of the soup until you're ready to eat it.