mariobrissette
12 years agoNew Contributor
Unable to run loadUI with shell comment line on Linux
Hi,
I installed loadUI 2.6.7 on a linux Ubuntu 12.04 machine. When I tried to launch it via shell command line, it didn't work. I have a simple loadUI projet which call a soapUI. On loadUI GUI, it works perfectly on my Windows 7 machine and I'm able to see the results of the load test.
But when I tried to launch it via a command line call, it falled with the following message.
Line 7, 9, 11, 13 are empty line in the loadUI-cmd.sh file. And there is a "in" keyword in line 14 so I don't understand what I'm missing. My command line call is done directly in the loadUI-cmd.sh folder and I only add the -p parameter to point out where the loadUI XML file is.
Thanks for your help!
I installed loadUI 2.6.7 on a linux Ubuntu 12.04 machine. When I tried to launch it via shell command line, it didn't work. I have a simple loadUI projet which call a soapUI. On loadUI GUI, it works perfectly on my Windows 7 machine and I'm able to see the results of the load test.
But when I tried to launch it via a command line call, it falled with the following message.
/usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh: 7: /usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh:
: not found
/usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh: 9: /usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh:
: not found
/usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh: 11: /usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh:
: not found
/usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh: 13: /usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh:
: not found
/usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh: 14: /usr/local/SmartBear/LoadUI-2.6.7/loadUI-cmd.sh: Syntax error: word unexpected (expecting "in")
Line 7, 9, 11, 13 are empty line in the loadUI-cmd.sh file. And there is a "in" keyword in line 14 so I don't understand what I'm missing. My command line call is done directly in the loadUI-cmd.sh folder and I only add the -p parameter to point out where the loadUI XML file is.
Thanks for your help!