03-25-2008, 09:15 PM
just to clarify:
is it your XML response that contains the limit elements?
does the xml response contain all the states or are you looping through each row of the data sheet and request by a single state?
If you are getting all states in a single response, then essentially your xml structure should be consistent. If you are doing single requests on each state and each state will have a different number of limit elements causing dynamic xml response, then you have to modify the XML checkpoints to not check the number of child elements. If you have to verify the values in these dynamic elements, its best to write some vbscript to do this instead of using an XML checkpoint. XML Checkpoints are intended for XML requests/response where the structure does not change.
is it your XML response that contains the limit elements?
does the xml response contain all the states or are you looping through each row of the data sheet and request by a single state?
If you are getting all states in a single response, then essentially your xml structure should be consistent. If you are doing single requests on each state and each state will have a different number of limit elements causing dynamic xml response, then you have to modify the XML checkpoints to not check the number of child elements. If you have to verify the values in these dynamic elements, its best to write some vbscript to do this instead of using an XML checkpoint. XML Checkpoints are intended for XML requests/response where the structure does not change.