Hi,
Could somebody tell me how can I use some Jmeter function in BeanShell
assertion.

For example I want to use __regexpFunction() in BeanShell assertion when,
lets say, SampleResult.getResponseDataAsString().contains("SOME_TEXT")=true.
So if there was an error on the page - I want get exception from response
using regexp.
For now I come up with following solution - set RegExp Extractor before
BeanShell assertion, and use that variable in assertion.
But it will be better if there is some way to avoid using of RegExp
Extractor, and use __regexpFunction() function directly in BeanShell
Assertion.

TIA
-- 
View this message in context: 
http://www.nabble.com/Jmeter-function-in-Bean-Shell-tp20124969p20124969.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to