https://issues.apache.org/bugzilla/show_bug.cgi?id=50797
Summary: Do not mark sampler as failed on expected errors
Product: JMeter
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I am developing some test cases to verify the correctness of our server. This
includes verifying that error messages are correctly provided by the server.
Unfortunately, (at least with the SMTP Sampler) when the server replies with an
error message, the sample is automatically marked as failed, and there is no
way around it.
My request for enhancement would be to add a flag that would not fail the
sample in case of an error. In the SMTP example I could select this flag and
then add an Assertion to verify the response code the server provided.
For instance, when the SMTP server is provided with incorrect login/password I
expect it to generate:
javax.mail.AuthenticationFailedException: 535 5.7.8 Error: authentication
failed: authentication failure
If this happens the sample is currently automatically marked as failed, even
though to my test if was correct.
--
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: [email protected]
For additional commands, e-mail: [email protected]