LoadRunner Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Error test case Web Services parameters XML with CDATA

Occasional Visitor

Error test case Web Services parameters XML with CDATA

[ Edited ]

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
Esteemed Contributor Esteemed 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?