Is it possible to use python selenium scripts in Jmeter?

1,276 views
Skip to first unread message

Valli Nayagam

unread,
Jun 14, 2015, 5:07:29 PM6/14/15
to jmeter-...@googlegroups.com
Hi All,

I have the selenium scripts in python language and is it possible to execute it with via Jmeter.


But it's not clear for me. Please provide some example to understand with python

Thanks in advance

Vallinayagam.K

Vincent Daburon

unread,
Jun 15, 2015, 5:51:59 AM6/15/15
to jmeter-...@googlegroups.com
Hi,

I think you can call jython script with jsr223 sampler but not linked to Webdriver - Selenium.
http://stackoverflow.com/questions/24512365/jmeter-run-a-python-script-before-calling-each-http-request-sampler


Webdriver Selenium use only a Javascript engine (so not python script).

JSR223 languages supported :
 Groovy, JRuby, Jython, Beanshell, browserjs, EJS, Freemarker, Jack, Jaskell, Java, Javascript, Jawk, Jelly, JEP, Jexl, JST, JudoScript, JUEL, OGNL, Pnuts, Scheme, Sleep, Velocity, XPath and XSLT.

Regards.
Vincent D.

Andrey Pokhilko

unread,
Jun 16, 2015, 10:24:40 AM6/16/15
to jmeter-...@googlegroups.com, valli....@gmail.com
Hi,

Can you provide the example Python selemium script? I could use it to try implementing the support for language selection...

--
Andrey

понедельник, 15 июня 2015 г., 0:07:29 UTC+3 пользователь Valli Nayagam написал:
Reply all
Reply to author
Forward
0 new messages