Unable to use Performance Plugin with Hudson

I am trying to integrate the JMeter test with Maven and Hudson. I stumbled upon this beautiful post on Maven JMeter and got it easily. And then I found out that Hudson has a performance pluginusing JMeter results that can be displayed directly on the Hudson dashboard. Now the problem I am facing is using the Performance Hudson plugin. The performance plugin says to specify the path to the JMeter report files, where the default path is treated as "** / *. Jtl" if no path is specified. My Maven JMeter tests create this file in the "target \ jmeter-reports \ GoogleAdvanceSearch.xml" section. Note that the "xml" file is generated here, but it is the same as the ".jtl" file. I have provided all the way to this xml file in the “report files” section of Hudson, but when I start building, I encounter the following exception after performing a performance test -

Performance: Recording JMeter reports 'C:\SelNG\jmeter2\target\jmeter-reports\GoogleAdvanceSearch-100905.xml'
Performance: no JMeter files matching 'C:\SelNG\jmeter2\target\jmeter-reports  \GoogleAdvanceSearch-100905.xml' have been found. Has the report generated?. Setting Build to FAILURE

But I know that the file is physically accessible at the location you specify.

To check if the problem is the coz file is "xml" and does not have a .jtl file as indicated in the Hudson performance plugin. Now I have created a build file that will run the JMeter tests and generate the ".jtl" file. You will now see the following .jtl file. "C: \ SelNG \ JMeter \ GoogleSearch.jtl". I indicated this path in the "Performance Report Reports> Report Files" section of the Hudson plugin, but again encountered the same exception while building

Performance: Recording JMeter reports 'C:\SelNG\jmeter\GoogleSearch.jtl'
Performance: no JMeter files matching 'C:\SelNG\jmeter\GoogleSearch.jtl' have been     found. Has the report generated?. Setting Build to FAILURE
Finished: FAILURE

Although I know that the file "C: \ SelNG \ jmeter \ GoogleSearch.jtl" is physically accessible at the specified location.

What am I missing here? does any of u encounter such a problem when using the Hudson-Performance plugin?

Thanks in advance ~ T

+3
1

, . . configure.

  C:\Hudson\\\ Peformance-test2-\ \\SRC\Test\JMeter\

c:\Hudson\data\jobs\template-peformance-test2-mvn\workspace\trunk\target\jmeter-reports\

.

My Build conf:

Root POM: trunk\pom.xml
Goals and options: celan verify

Post Build Actions

JMeter

Report files */target/jmeter-reports/*.xml
+1

Source: https://habr.com/ru/post/1763297/


All Articles