success/failure. So:
On 04.02.2017 07:45,
ssitara...@gmail.com wrote:
> Hi,
>
> I have Jenkins running as Container in docker, I have setup Jmeter
> environment with one test case and ran it from Jenkins 'Execute Shell',
> it runs fine but I intentionally set the test case to fail, so it fails.
> My expectatation was that Jenkins would stop build and throw an error
> but it says build success. How can I make it to fail ?
>
> [JMeterTest] $ /bin/sh -xe /tmp/hudson1222895905918381553.sh
> + cd apache-jmeter-3.1/bin
> + sh jmeter.sh -n -t TestCases/TestLoop.jmx -l TestCases/results.jtl
> Writing log file to: /var/jenkins_home/workspace/JMeterTest/apache-jmeter-3.1/bin/jmeter.log
> Creating summariser <summary>
> Created the tree successfully using TestCases/TestLoop.jmx
> Starting the test @ Sat Feb 04 06:39:39 UTC 2017 (1486190379864)
> Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
> summary = 1 in 00:00:00 = 3.3/s Avg: 72 Min: 72 Max: 72 *Err: 1 (100.00%)*
> Tidying up ... @ Sat Feb 04 06:39:40 UTC 2017 (1486190380235)
> ... end of run
> Finished: SUCCESS
>
>
> Thanks.
>