You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "ohaya@yahoo.com.INVALID" <oh...@yahoo.com.INVALID> on 2019/08/13 14:32:21 UTC
HELP! Getting "Exception java.lang.IllegalArgumentException:
Header:Location Cannot contain CRLF Charcters" during Jmeter test
Hi,
We have a Jmeter test plan where we use an OS Process Sampler to execute a Java class, then the Java class outputs a string, and then we use an HTTP Request to do a POST with the output from the Java class as the Body Data.
However when we do the POST, we are getting a 500 error, and we are seeing the following error in our server log:
Exception
java.lang.IllegalArgumentException: Header:Location Cannot contain CRLF Charcters
Is there some way that we can configure/control how the headers that Jmeter is sending are terminated?
Thanks,Jim
SOLVED was Re: HELP! Getting "Exception
java.lang.IllegalArgumentException: Header:Location Cannot contain CRLF
Charcters" during Jmeter test
Posted by "ohaya@yahoo.com.INVALID" <oh...@yahoo.com.INVALID>.
Hi,
I just wanted to let you all know that I got this working. The error message was a bit of a "red herring".... the problem was that there was a CR/LF at the end of the BODY, not any of the HTTP headers.
Thanks,Jim
On Tuesday, August 13, 2019, 2:32:37 PM UTC, ohaya@yahoo.com.INVALID <oh...@yahoo.com.INVALID> wrote:
Hi,
We have a Jmeter test plan where we use an OS Process Sampler to execute a Java class, then the Java class outputs a string, and then we use an HTTP Request to do a POST with the output from the Java class as the Body Data.
However when we do the POST, we are getting a 500 error, and we are seeing the following error in our server log:
Exception
java.lang.IllegalArgumentException: Header:Location Cannot contain CRLF Charcters
Is there some way that we can configure/control how the headers that Jmeter is sending are terminated?
Thanks,Jim