You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2010/11/03 17:45:49 UTC

DO NOT REPLY [Bug 50204] New: jmeter-maven plugin integration: even if there are errors in jmeter tests, build is still successful

https://issues.apache.org/bugzilla/show_bug.cgi?id=50204

           Summary: jmeter-maven plugin integration: even if there are
                    errors in jmeter tests, build is still successful
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: asp.adieu@gmail.com


I am not sure that this should be a JMeter issue, this ticket is a result of a
discussion on the jmeter-user mailing list.

We've integrated JMeter with maven / hudson (JMeterMavenPlugin is used:
http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin). After a simple test
with 1 intentional failed HTTP Sampler, in Hudson we get build successful
(note: in the case of junit fails - build fails).

My belief is that maven expects ERROR and JMeter sends FAILED. So if you
consider this should be changed in JMeter, that will help everybody who wants
to integrate JMeter in automatic testing procedures.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 50204] jmeter-maven plugin integration: even if there are errors in jmeter tests, build is still successful

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50204

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Sebb <se...@apache.org> 2010-11-03 13:52:06 UTC ---
I recently made a fix to the AllTests class, which was always returning exit
code 0.

I also changed build.xml:

Log:
Ensure test failures are properly progagated

Modified:
   jakarta/jmeter/trunk/build.xml
   jakarta/jmeter/trunk/test/src/org/apache/jorphan/test/AllTests.java

Perhaps those fixes will be sufficient?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 50204] jmeter-maven plugin integration: even if there are errors in jmeter tests, build is still successful

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50204

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Sebb <se...@apache.org> 2011-09-17 00:37:52 UTC ---
Assuming this has fixed the problem. If not, please reopen with details.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org