Hi,
I want to set hidden input fields in html form. Although I have modified
Setup.java and changed line
HttpUnitOptions.setParameterValuesValidated(true);
to
HttpUnitOptions.setParameterValuesValidated(false);
System.out.println(HttpUnitOptions.getParameterValuesValidated());
I still get following error message
ant -buildfile EEK_makse.xml
Buildfile: EEK_makse.xml
main:
[testSpec] false
BUILD FAILED
file:D:/!projects/Sampo/monitoring/test_engine/src/EEK_makse.xml:73:
Test failed
Test step submitform named "<unknown>" failed with message "Illegal
parameter ke
y in form [, post, login, , , _top, , POST request for
(https://www.sss.ee:443
/cgi-bin/login?lang=est&user0=66742) login] with message <Parameter
'key' must h
ave the value ''. Attempted to set it to: { XXXX }> "
Why are form parameters still validated ('false' in ant output shows
that my newly built webtest.jar is used)? Or what is the easiest way to
implement custom step that makes POST requests?
Janno,
WebtTest build 385