LoadRunner Practitioners Forum
cancel

Error test case Web Services parameters XML with CDATA

Patonix
New Member.

Error test case Web Services parameters XML with CDATA

I have a problem with a load test for Web services because, in my method, the input parameter is a string which I pass an XML, which has a CDATA, but when I run the Web service, the XML transforms me special characters throws me an error where the server does not recognize the characters, example:

 

Request:

 

<ContextXML>&lt;![CDATA[...

 

Response

 

Data at the root level is invalid line 1, position 1

 

Any help is appreciated

1 REPLY
Highlighted
James Leatherma
Outstanding Contributor.

Re: Error test case Web Services parameters XML with CDATA

I have never had success using Web Services with an uparsed section of CDATA. I have always had to resort to using a web_custom_request for this.

 

Is there no way to get the raw XML for this? Is there a soapUI project that you can tease the XML out of?