Multipart-1G multipart/form-data assertion

"Jonathan Marsh" <[email protected]>
Newsgroups gmane.comp.web.services.description
Message-ID <03e901c75470$88a6eda0$3501a8c0@DELLICIOUS>
The message assertions for testcase Multipart-1G looks for XML in the
payload of the message, which is clearly incorrect.  I've updated it to
simply check that there is some text there instead.

 

Before:

 

*	count(/l:log/l:message[@number="1"]/l:content/*)=1 

 

*	/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName'
and namespace-uri()='http://example.org/message-test/xsd']

 

After

 

*	count(/l:log/l:message[@number="1"]/l:content/text())>0

 

Checking the form of the body beyond that is possible but hard, and since we
only have one log for this testcase manual inspection seems adequate for
now.

 

Jonathan Marsh -  <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.