Example for posting a string without and with a JSESSIONID
cookie.
If you add this cookie, Unicode will work.
Adding a cookie should not mess with the encoding. The test cases make sure of this.
When not adding a JSESSIONID
cookie, the strings from the form entity will be mis-interpreted.
-
Run
mvn clean liberty:dev
to run hot tests (*IT.java
) on liberty. -
Press
<Enter>
to execute the integration tests again. -
The stacktrace is visible on stdout and in the logs.
-
Run
mvn clean test
to run the unit tests (none atm).
-
server.xml
is redundant to feature config inpom.xml
. This is on purpose to show how easy it is to configure OpenLiberty. -
look at
jvm.options
for Liberty-related jvm options. -
Run
mvn clean liberty:run
to not execute tests and not re-deploy on code change. -
Tests are somehow executed twice.