I am very new to httpunit, trying since hours to receive a certain internet page. The problem I found out is that the order of parameters is change by httpunit.
Also I searched in the mailinglist I found no answer to solve by problem. I did not switch off the validation, so httpunit (>=1.6) should change to order.
Maybe some expert could overview to code very quick and give me an advice:
hi there!
I am very new to httpunit, trying since hours to receive a certain internet page. The problem I found out is that the order of parameters is change by httpunit.
Also I searched in the mailinglist I found no answer to solve by problem. I did not switch off the validation, so httpunit (>=1.6) should change to order.
Maybe some expert could overview to code very quick and give me an advice:
request = new PostMethodWebRequest("http://www.somewhere.com/servlet/ServletR");
request.setParameter("site", "bo");
request.setParameter("page", "PageBOLogin");
request.setParameter("checkLogin", "1");
request.setParameter("login", BOUser);
request.setParameter("passwort", BOPass);
request.setParameter("go.x", "13");
request.setParameter("go.y", "6");
response = conversation.getResponse(request);
I did not receive this page earlier so, there is no order pre-defined.
Thanks everyone,
max