-2

Cannot detect file type because of error, and : Failed to copy Build step 'Publish Performance test result report' changed build result to FAILURE Finished: FAILURE. whenever i run the script always i face this..

basava022
  • 13
  • 1
  • 3
  • Can you give the context of your question ? what are you doing, what should happen, what you obtain instead , and show full log and stacktrace if any. Thanks – UBIK LOAD PACK Oct 15 '18 at 10:05

1 Answers1

-1

Take a look into Jenkins Console Output - it should give you the reason for the failure.

Most probably the Performance Plugin fails to find JMeter's .jtl results file in Jenkins Workspace, either the .jtl results file is missing or you're pointing the Performance Plugin to the incorrect location.

If you have a Script step to run a JMeter test like:

jmeter -n -t test.jmx -l result.jtl

You should be able to use simply result.jtl in the Performance Plugin.

enter image description here

Check out:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133