15 years ago
Question regarding validating response content
Is there a way count how many times a xml tag occurs in a response?
The web service I am testing returns one or more documents from a knowledge repository. The number of documents returned is based on the parameters I pass into the method. I am trying to find a way to verify that the correct number of documents were returned in the xml response.
Any suggestions would be great.
The web service I am testing returns one or more documents from a knowledge repository. The number of documents returned is based on the parameters I pass into the method. I am trying to find a way to verify that the correct number of documents were returned in the xml response.
Any suggestions would be great.