i have 20 parameter to pass into jmeter, trying to use 1 parameter which having all argument and break down in jmeter, however the new line was stopping it to execute in cmd

0
1 comment
Hi! I'd recommend checking what the actual command ran by the build is. If you use the Command Line build step, you can inspect the build log and find something like this:

```
[14:07:01]i: [Step 1/1] Content of \temp\agentTmp\custom_script16738293593421472057.cmd file:
off
rem This is a custom script written by TeamCity using windows-1252 charset.

```

If you can run the same command as given in the script file manually on the same agent using the command prompt, then it should work in TeamCity. Otherwise, you might need to escape the newline character in your parameter value or redo your command in a way that makes it handle the multiline input correctly.
0

Please sign in to leave a comment.