https://bz.apache.org/bugzilla/show_bug.cgi?id=64162

--- Comment #9 from Felix Schumacher <[email protected]> ---
(In reply to pieras2 from comment #7)
> (In reply to Felix Schumacher from comment #6)
> > JSR223 is not deprecated, where did you get that info from?
> 
> Maybe I didn't express myself good - my english (sorry)
> 
> On
> https://jmeter.apache.org/usermanual/component_reference.
> html#JSR223_Assertion
> There's a link to
> https://jmeter.apache.org/api/org/apache/jmeter/assertions/AssertionResult.
> html
> 
> There's a text: 
> 
>   AssertionResult()
>    Deprecated. 
>    - use the named constructor

That one constructor is deprecated, but that is OK. You don't have to construct
those assertion-results. They will get created for you and passed into the
assertion script.

> 
> Since I launched the "new" Jmeter all the assertions made in my test plan
> were failing due to undefined "AssertionResult".
> 
> I was using AssertionResult as per user manual:
>   AssertionResult.setFailureMessage("message")
>   AssertionResult.setFailure(true).
> 
> I was trying to follow 
>   AssertionResult(String name)
>   Create a new Assertion Result.
> ... but without success, maybe due to the problem of this "mix" 5.2.1 <>
> 5.1.1 I encountered (I'm not experienced in programming - new area to me).
> 
> I will check now in my real 5.2.1 JMeter if it works the old way

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to