belcheee
12 years agoNew Contributor
SoapUI HTTP POST Too Large
Hi, I am new to SoapUI and have managed to set up some HTTP request tests that POST XML to an endpoint which runs a webapp and returns response XML.
This works for most cases but there appears to be a size limit of around 7953 characters for the POST xml (taken from the raw POST line in the test step). Any POST messages larger than this return a HTTP 400 (bad request).
The exact XML content in the response pane of the test step is
and in the Raw tab it shows:
The server runs Apache Tomcat 6.0 and I have tried setting the maxPostSize limit to zero (no limit) but still no joy.
Any help appreciated, thanks in advance.
This works for most cases but there appears to be a size limit of around 7953 characters for the POST xml (taken from the raw POST line in the test step). Any POST messages larger than this return a HTTP 400 (bad request).
The exact XML content in the response pane of the test step is
<data contentType="null" contentLength="0"><![CDATA[]]></data>
and in the Raw tab it shows:
HTTP/1.1 400 Bad Request
Server: Apache-Coyote/1.1
Date: Fri, 30 May 2014 13:04:57 GMT
Transfer-Encoding: chunked
Via: 1.1 some.address.co.uk:80 (Cisco-IronPort-WSA/7.5.0-833)
Connection: keep-alive
Proxy-Connection: keep-alive
The server runs Apache Tomcat 6.0 and I have tried setting the maxPostSize limit to zero (no limit) but still no joy.
Any help appreciated, thanks in advance.