Adding to what Tushar has suggested, you can also have a scripted assertion and you can trim the text file in multiple strings (using <?xml version="1.0"?> as delimiter) & save all the XMLs(extracted from the .txt file) in separate property variables.