Forum Discussion

nulllaw's avatar
nulllaw
Occasional Contributor
10 years ago

WebService testing - how to change the maximum string content length quota (8192)

Hi all,



I am testing the webservice using TC 9.20 and blocked by the error " The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.'.  Please see InnerException for more details

"

By google, it is a common problem of many people provide the workaround. "http://stackoverflow.com/questions/6600057/the-maximum-string-content-length-quota-8192-has-been-exceeded-while-reading-x". But, how to TC apply workaround?



Regards,

Nulllaw



1 Reply

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi,



    After going through the link you provided, it is my understanding that the problem is on the web service side and relates either to its code or configuration file. In this case you should contact web service developers and talk to them.

    If you are getting the mentioned error from TestComplete, can you post here the code that causes the error?