JMeter and JavaScript

When I make an HTTP request in JMeter, I get the Response data as "This page uses JavaScript and requires a browser with JavaScript support." How can this problem be solved.

+5
source share
4 answers

JMeter is not a browser and does not interpret JavaScript on loadable pages.

From the JMeter wiki :

JMeter does not process Javascript or applets embedded in HTML pages.

JMeter can load the appropriate resources (some built-in resources are automatically loaded if the correct parameters are set), but this does not process HTML and performs any Javascript functions.

Javascript URL- , - . , , Javascript.

, , , Selenium IDE Firefox. , JavaScript. , Selenium JMeter .

+13

, WebDriver (IE/Firefox/Chrome/Selenium).

+1

WebDriver JMeter, .

Web Driver Sampler ( ). , , . , , HTML5, JS CSS , . -/webapp, JMeter. , :

  • Javascript - . AJAX, JS
  • CSS - . 3D- ,
  • - . Facebook, , , ..

All this adds to the overall browser runtime, and this is the goal of the project - to measure the time required to complete all this content.

Official Guide: https://jmeter-plugins.org/wiki/WebDriverTutorial/

0
source

You need to add HTTP Cookie / Cache Manager to your stream in order to solve this problem.

-4
source

All Articles