Skip to main content
12 votes

Can Apache JMeter be used to measure the load time for a specific action

Well I don't think JMeter will help you do performance or load testing of the click action/event of a button. If the click of a button makes an HTTP request to the server, then you can most definitely ...
Jes Jackdon's user avatar
11 votes
Accepted

How to generate Report Dashboard in Jmeter?

If you already have a .jtl result file you can do it like: jmeter -g /path/to/jtl/file -o /where/you/want/to/store/dashboard If you would like the dashboard to be generated after the test run, you ...
Dmitri T's user avatar
  • 13.5k
10 votes

Testing with jmeter Trying to login in to Wikipedia

Try to record your script with Blazemeter and run the test. See if you get same error. If not then compare the two scripts and check what went wrong with your script. Blazemeter is an extension of ...
Katie Roberts's user avatar
10 votes

Jmeter fails to connect to a .qvw on an https server

As you have mentioned that when you access the application without a proxy it works fine, but when using via proxy (recording script for JMeter) you are not able to access the application. From this ...
IAmMilinPatel's user avatar
10 votes

Is applying the Ramp up period mandatory while doing load testing with huge load?

You have 1 Master and 2 Slaves. The total load being generated is 500 + 500 = 1000. Since you mention that the server health is good during the test execution. Yet, you are getting an Internal ...
IAmMilinPatel's user avatar
10 votes

Is it possible to do load testing of java swing application with Jmeter?

From Apache JMeter's website we get this, Ability to load and performance test many different server/protocol types: Web - HTTP, HTTPS SOAP / REST FTP Database via JDBC LDAP Message-oriented ...
IAmMilinPatel's user avatar
8 votes
Accepted

How to push my JMeter project to Github and run it via pipeline from Jenkins

You will need 3 things in order to run JMeter test in Jenkins: JMeter .jmx script itself Java Runtime JMeter If you have JMeter installed on the machine the minimal pipeline would look like: ...
Dmitri T's user avatar
  • 13.5k
7 votes

JMeter: how to trigger all multiple requests at same time

Your scenario is, 5 Users hitting 5 URLs(samplers) simultaneously. So what you need to do is, in your Test Plan, add 5 Thread Groups. In each Thread Group configure the number of Threads to 5 and ...
IAmMilinPatel's user avatar
7 votes
Accepted

Why does it matter whether JMeter runs on the same machine as the website?

To avoid mutual interference it is much better to run JMeter and Application Under Test on different hosts. Theoretically you can have them on same machine but results won't be reliable. Load ...
Dmitri T's user avatar
  • 13.5k
7 votes
Accepted

How to load 100 urls as http request in jmeter?

Add Thread Group. Configure it as follows: Number of Threads: whatever you like Loop Count: tick Forever or put -1 Add CSV Data Set Config as a child of the Thread Group and configure it like: ...
Shasak Singh Sengar's user avatar
7 votes
Accepted

What kind of response codes will I get in JMeter if the AUT reaches its breaking point and eventually the server crashes?

Ideally if you amount of virtual users in 2x times you should get 2x times larger throughput. When your reach saturation point throughput will stop increasing and response time will be growing. In ...
Dmitri T's user avatar
  • 13.5k
6 votes
Accepted

Load/stress testing framework for AWS EC2 instances with startup/shutdown?

Before anything, I would recommend you to think about an important point: What is the main purpose behind your test? Try to define your SLO/SLIs first (KPIs). For example if the KPI is "...
masood ghz's user avatar
6 votes

How to enforce run Once Only Controller in Jmeter

As per Once Only Controller documentation: The Once Only Logic Controller tells JMeter to process the controller(s) inside it only once per Thread, and pass over any requests under it during ...
Dmitri T's user avatar
  • 13.5k
6 votes
Accepted

Unable to run the JMeter test plan on Ubuntu Server getting an error `NonGUIDriver java.lang.IllegalArgumentException`

It seems that you're using the WebDriver Sampler in your Test Plan and your JMeter installation on Ubuntu doesn't have this plugin installed. The solution is to install the plugin, it can be done ...
Dmitri T's user avatar
  • 13.5k
5 votes

Jmeter Expected closing bracket for IPv6 address at index 28

Never put the whole URL into "Server Name or IP" input. It's better to configure HTTP Request Sampler as follows: Server Name or IP: dot4ap-mms-cr Port Number: 8080 Protocol: http Path: /fms/Kernel/...
Dmitri T's user avatar
  • 13.5k
5 votes
Accepted

How to Use Http Request/JSON extractor(using Jmeter Variable) in Jmeter with Response assertion(using Jmeter Variable)

For example you have the following response: And you need to extract John from it. Add JSON Extractor Post Processor Configure it as follows: Reference Name: anything meaningful, i.e. name JSON ...
Dmitri T's user avatar
  • 13.5k
5 votes

SoapUI vs Jmeter for webservices

Both fit your requirements so feel free to choose the one you like more. The only area where JMeter is better is running load tests, SoapUI has limited load testing capabilities and reporting (you ...
Dmitri T's user avatar
  • 13.5k
4 votes
Accepted

How to use multiple Jmeter instances on a single machine

I don't know why you need to run multiple instances of Jmeter from single machine. But Yes, you can run multiple instances of JMeter from single machine without any major issue, the only limitation ...
Dhiman's user avatar
  • 4,580
4 votes
Accepted

Jmeter: Constant throughput Timer with Ultimate Thread Group

As far as I know, it doesn't matter which type of Thread group you are using with Constant Throughput timer, at the end of the test in the results, you will get your desired Throughput which you ...
Dhiman's user avatar
  • 4,580
4 votes

Why does it matter whether JMeter runs on the same machine as the website?

Answer In Short Strictly Recommended Method: Execute JMeter Scripts on remote server. Reason: JMeter use huge memory which affects the performance of machine, hence executing JMeter script on same ...
Jeevan Bhushetty's user avatar
4 votes

Why does it matter whether JMeter runs on the same machine as the website?

Network is the highest cost resource in terms of adding to response time. When you run on the same server as the web server you are processing requests and responses across the system bus of the ...
James Pulley's user avatar
4 votes
Accepted

How load gets divide/handled in distributed jmeter testing?

As per what I'm understanding is that you have set up below mentioned architecture for JMeter distributed testing, 1 Master: Controlling 3 Slaves. You have set up number of threads to 100 in the ...
IAmMilinPatel's user avatar
4 votes

Login Via Jmeter for ASP page does not work

JMeter's built-in script recorder tends to create problems with the test scripts when the URL is SSL encrypted (HTTPS). This may be because JMeter uses proxy when recording the scripts and while ...
IAmMilinPatel's user avatar
4 votes
Accepted

Creating a unique name for .jtl file in command line

On a Windows based system, Open notepad and write the below piece of code in it. C:\ set SAVESTAMP=%DATE:/=-%@%TIME::=-% C:\ set SAVESTAMP=%SAVESTAMP: =% C:\ set SAVESTAMP=%SAVESTAMP:,=.%.jtl ...
IAmMilinPatel's user avatar
4 votes
Accepted

XML loading Issue with jmx generated by Blazemeter Mobile Recorder

Smart JMX is a converting mechanism which converts the BlazeMeter proxy recording into a JMX while adding further logics, e.g necessary parameterizations as well as token or sessionID extractions etc. ...
BlazeMeter Support's user avatar
4 votes

How to convert LoadRunner scripts to JMeter compatible scripts with least re-work effort?

This tool was released lately. If you upload a ZIP of your LoadRunner script, it will convert it to JMeter or Selenium. It might not be 100%, but it will tell you what it couldn't convert and save ...
Refael's user avatar
  • 141
4 votes
Accepted

How to validate response assertion with XML elements?

I think XPath Assertion would be a better match for XML data, the relevant XPath expression to check whether sampledUrl node text is equal to http://abc.com/off/paul.html will be: //sampledUrl/text()=...
Dmitri T's user avatar
  • 13.5k
4 votes

Use of Jmeter for api load testing with full workflow

The idea of the load testing is simulating application real usage. Imagine that each JMeter thread is a real user and design your test in this way so each JMeter's virtual user would act like a real ...
Dmitri T's user avatar
  • 13.5k
4 votes
Accepted

How to loop through Jmeter request?

Depending on your scenario: You can put your Login request under Once-Only Controller like: Once Only Controller Login Action 1 Action 2 Action 3 You can put Action* requests under Loop ...
Dmitri T's user avatar
  • 13.5k
4 votes

How do you test, auto-logout after 60 minutes?

Make the time-out configurable by the tests. In a config-file on the test environment, a setting in a database or passed as a parameter in the API calls. Figure it out, because test-suits should be ...
Niels van Reijmersdal's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible