diff --git a/javax-servlets/src/test/java/com/baeldung.servlets/LiveTest.java b/javax-servlets/src/test/java/com/baeldung.servlets/FormServletLiveTest.java similarity index 99% rename from javax-servlets/src/test/java/com/baeldung.servlets/LiveTest.java rename to javax-servlets/src/test/java/com/baeldung.servlets/FormServletLiveTest.java index fac4b6bb9c..45f5e83c87 100644 --- a/javax-servlets/src/test/java/com/baeldung.servlets/LiveTest.java +++ b/javax-servlets/src/test/java/com/baeldung.servlets/FormServletLiveTest.java @@ -25,6 +25,7 @@ public class FormServletLiveTest { nvps.add(new BasicNameValuePair("height", String.valueOf(2))); nvps.add(new BasicNameValuePair("weight", String.valueOf(80))); + method.setEntity(new UrlEncodedFormEntity(nvps)); HttpResponse httpResponse = client.execute(method);