--- src/protocol/http/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java (revision 1633145) +++ src/protocol/http/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java (working copy) @@ -203,9 +203,11 @@ * On retrival, CRLF is converted back to LF for storage in the text field. * See */ - HTTPArgument arg = new HTTPArgument("", text.replaceAll("\n","\r\n"), false); - arg.setAlwaysEncoded(false); - args.addArgument(arg); + if (!text.replaceAll("\n","\r\n").equals("")){ + HTTPArgument arg = new HTTPArgument("", text.replaceAll("\n","\r\n"), false); + arg.setAlwaysEncoded(false); + args.addArgument(arg); + } } else { args = (Arguments) argsPanel.createTestElement(); HTTPArgument.convertArgumentsToHTTP(args);