Monday, March 10, 2014

Fixing BSFException: unable to load language: java

I was using JMeter to execute BeanShell scripts that I have written and came across this exception. I had to waste sometime to find out what was the exact issue. Although I copied the BSF jar to the JMeter lib directory, it was not sufficient. When I added the bsh-bsf-2.0b4.jar, the script started running successfully. 

I thought someone else might find this tip useful, therefore blogging it.

2 comments:

Deepali Patil said...

Thank you so much.
I googled a lot,
but no use
finally i found your blog
Thnk you so much

Heshan Suriyaarachchi said...

You're welcome.