Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem when submit a form with HTTPUnit  RSS feed

Trung NguyenTuan
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm using HttpUnit (version 1.6 and 1.7) to automatically submit a form.
Here is the html code:

And my Java code:

After running the code, I get exactly the same page before submitting (The correct expected value is the "uiButtonMarkeraIntresse" button change its value to something else). Does anyone have the same problem? I guess it happens because the action string "Lagenhet.aspx?Diarienr=2090536" is the same with the url before submitting - the page submits to itself. Any help is really appreciated.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!