I am trying to exercise the following SOAP test case, but it fails
with the message:
ERROR: Bad Form Encoding Type, I only accept "application/x-www-form-
urlencoded", "multipart/form-data", "text/xml", "application/soap+xml"
It seems the webinject code has not escaped the metacharacter "+" as
this code snippet:
or ($case->{posttype} =~ m~application/soap+xml~mx)
<testcases repeat="1">
<case
id="1"
description1="Send a SOAP request"
description2="verify string 'bogus string' does not exist in
response"
method="post"
url="
http://xx.xx.xx.xx:8080/soap/services/
ExternalInspectionManagementPort"
posttype="application/soap+xml"
postbody="file=>LQtest.xml"
logrequest="yes"
logresponse="yes"
/>
bash-3.00$ perl -v
This is perl, v5.8.8 built for sun4-solaris
Copyright 1987-2006, Larry Wall