Am 02.07.19 um 19:28 schrieb oh...@yahoo.com.INVALID:
> Hi,
>
> I have a testplan where I have a BeanShell Sampler and a BeanShell Assertion. 
>  
>
> At one point when I was working on the testplan, when I ran the testplan, I 
> would see BOTH the BeanShell Sampler and the BeanShell Assertion in the View 
> Results Tree.
>
> However, now, it appears that when I run the testplan, only the BeanShell 
> Sampler is appearing in the View Results Tree.  NOTE that I KNOW that both 
> the Sampler and the Assertion are being executed, because both do some 
> logging in the jmeter.log, and I can tell from that logging that both are 
> running.
>
> Can anyone tell me why the Assertion might no longer be appearing in the View 
> Results?

The assertion is probably passing and not failing? Only failed
assertions will be shown.

For example you could take a very simple JSR223 Sampler with a simple
content:

"Hello, World!"

and a JSR223 Assertion with a simple assertion

assert prev.responseDataAsString =~ /Hello/

When run, this will show only the string "Hello, World". If you change
the string or the assertion, you should get the AssertionResult in the View.

(The Sampler and Assertion use groovy as language, which should be the
default)

Felix

>
> Thanks,
> Jim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to