Selenium Integration Using Jmeter or Grinder

I'm trying to evaluate load and performance testing tools, and I think I can either go with Jmeter or The Grinder. I struggle to choose between them and hope that someone here can help.

I am currently using selenium to run functional tests of a web application, and now I need to enable load testing as part of the batch job. My plan is to automate the whole process.

A few questions that I have about two tools

  • Is it possible to use Java to program test cases instead of Jython for Grinder and XML for Jmeter?
  • How easy is it to integrate Jmeter or Grinder with Ant and Junit
  • Does the crusher work the same as the Jmeter. that is, it sends only the request URLs to the server and does not perform preprocessing before sending? for example, the javascript method called onSubmit of the form.
  • For an application that has a lot of javascript and dynamic css / javascript processing that you would recommend, it would be best suited. For example, many forms are represented dynamically. that is, when the user clicks the submit button, he simply does not submit the form, usually called the javascript function, which does some processing before submitting the form. In some cases, the form itself is built dynamically using Javascript. Which of the two tools, in your opinion, will cope with this much better?
  • - - Selenium Jmeter Grinder Selenium.

+3
3

JMeter (HTTP GET, HTTP POST ..). Selenium, , (, , ..). .

Selenium, http://browsermob.com. : BrowserMob:)

+1

Jmeter Grinder Ant Junit

jMeter jUnit3, , jUnit4.

selenium jMeter, , . 8 , . , .

+5

, :

, javascript css/javascript, , . , . , , javascript, . Javascript. , , ?

Jmeter will not run Javascript at runtime - it can only send / receive HTTP requests. If you need Javascript to execute as part of your performance metrics, Jmeter will not give you the numbers you need. If you do not need processing as part of your indicators, then everything will be all right. It comes down to what you're looking for — the load the server can handle, or the “true” user experience complete with HTML / CSS / JavaScript processing.

+1
source

Source: https://habr.com/ru/post/1769551/


All Articles