-1

Whether node modules can be used inside jmeter? For example can we import node modules inside webdriver sampler?

Yadhav
  • 15
  • 3

1 Answers1

0

Node.js is a server-side scripting engine, the only "good" way to use it from JMeter is via OS Process Sampler

If you want to use some Node.js module in the browser driven by Selenium you might want to take a look at browserify which is capable of producing a single .js file which you can load and call its functions.

In general the only recommended scripting option in JMeter is using JSR223 Test Elements and Groovy language, I'm pretty sure that your requirement can be implemented in Groovy

Dmitri T
  • 159,985
  • 5
  • 83
  • 133