I have serveral checks which all work with Webinject 1.41. They however
fail with Webinject 1.71. The problem seems to occur when the value of
PARSEDRESULT1 (or PARSEDRESULT2 etc) is read. The error message is
'Can't call method "parseresponse" without a package or object reference
at /usr/local/share/perl5/Webinject.pm line 1465.' In the following
example case 1 & 2 work as expected but case 3 throws the error.
<case
id="1"
description1="..."
description2="..."
method="post"
url="..."
postbody="..."
verifyresponsecode="..."
parseresponse="Location: |\n"
/>
<case
id="2"
description1="..."
description2="..."
method="get"
url="{PARSEDRESULT}"
parseresponse='name=\"RelayState\" value="|"'
parseresponse1='name=\"SAMLResponse\" value="|"|escape'
verifyresponsecode="..."
verifypositive="..."
/>
<case
id="3"
description1="..."
description2="..."
method="post"
postbody="RelayState={PARSEDRESULT}&SAMLResponse {PARSEDRESULT1}"
url="..."
verifyresponsecode="..."
/>
I notice that in your tests 03-parse_response.xml and 20-full_test.xml
populate these variables but do not attempt to read from them.