12 votes
Accepted

Jmeter: Recorded test plan file doesn't open in non GUI mode

After a lot of Googling and trial and error I found out that a tag in the JMX file that Blazemeter's Chrome Extension generates was creating a problem. The JMX file included a <hashTree/> in ...
IAmMilinPatel's user avatar
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.4k
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
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.4k
3 votes

How to stop JMeter Thread in case of errors in specific requests (samplers)

If you need to limit this behavior to one request, add a Result Status Action Handler as a child of the request It's in post processor, then if it fails you can configure what happens, e.g. Stop the ...
Joseph Moore's user avatar
3 votes
Accepted

How to stop JMeter Thread in case of errors in specific requests (samplers)

Add Beanshell PostProcessor as a child of the request which must be successful and put the following code into "Script" area: if (!prev.isSuccessful()) { prev.setStopThread(true); } where prev ...
Dmitri T's user avatar
  • 13.4k
3 votes
Accepted

How can I view the server performance using Jmeter?

It's easy to implement. Please see the How to Monitor Your Server Health & Performance During a JMeter Load Test, which will guide you step by step to measure the server-performance!!! Hope, this ...
Jahan's user avatar
  • 453
3 votes

JMeter: How can I keep 1000 or "X" users login requests session alive using JMeter?

Although Constant Throughput Timer accepts value in Requests/min and you are saying that you will use 120/sec, so you will have to provide a value of 7200 in Constant Throughput Timer to achieve 120/...
Dhiman's user avatar
  • 4,580
3 votes
Accepted

How to read Logs In jmeter

You can use listener to understand the Logs. Please refer below steps Right click "thread group” add -> listener -> aggregate report Now select your Access Log Sampler Enter the IP Address or ...
Faiz's user avatar
  • 809
3 votes
Accepted

Using Jmeter How to Match values in Json response with JDBC response?

Not knowing the details of JDBC and JSON response it is hard to provide exact configuration, from the high level perspective it should be something like: Add JSON Extractor and store "interesting" ...
Dmitri T's user avatar
  • 13.4k
3 votes
Accepted

JDBC PostProcessor Example in Jmeter for Response assertion

For example, we have the following table: mysql> describe city; +-------------+----------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra |...
Dmitri T's user avatar
  • 13.4k
3 votes
Accepted

Jmeter Response assertion failure on image URL matching with DB

You need to tick JMeter Variable radiobutton in order to make this work as you expect Your current setup is comparing ${imageurl_1} with the parent sampler response. See documentation on Response ...
Dmitri T's user avatar
  • 13.4k
3 votes

What are the units of Y-axis in this perfmon graph in JMeter?

For particular your image Y axis stands for Swap (page) file usage in bytes depending on chosen metric which could be one of: used pagein pageout free total You can calculate percentage for swap ...
Dmitri T's user avatar
  • 13.4k
2 votes
Accepted

Am I missing anything professionally in my JMeter plan?

I will your plan is right for most of the things, I am listing down only those things which you need to add/update. Add Cache Manager Taking care of Timers: Note that timers are processed before each ...
Dhiman's user avatar
  • 4,580
2 votes

What tools are recommended for end to end page load time testing (including ajax and styling elements)?

If the amount of load is not important and you only want to know which elements in your webpage are consuming more time (from a single client perspective) you could take a look at YSlow. It also gives ...
Johnbo's user avatar
  • 186
2 votes

How can I record a pop-up in JMeter

Your issue is common for SharePoint applications. Actually your application is using Windows Authentication method and JMeter can't record this because Jmeter records only web browser actions. You ...
Dhiman's user avatar
  • 4,580
2 votes

How to read Logs In jmeter

You can configure jmeter to add an header line with the column names by modifying the jmeter.save.saveservice.print_field_names to true in the jmeter.properties file. By default, the columns are: ...
guido's user avatar
  • 123
2 votes

How can I view the server performance using Jmeter?

If by server performance you mean server's health and resource utilization, then, There is no built option for monitoring server health in JMeter. But, don't be disheartened, there is a plugin ...
IAmMilinPatel's user avatar
2 votes

Jmeter scripts putting my stage server down

Don't run application under test and JMeter on the same machine to avoid the mutual interference, JMeter load test is quite "heavy" operation itself and in case of hardware resources lack you won't be ...
Dmitri T's user avatar
  • 13.4k
2 votes
Accepted

JMeter Webdriver sampler "WaitForText"

I don't know what programming language you use, the below answer assumes default WebDriver Sampler language which is JavaScript. You should implement your own custom Function like var wait = new ...
Dmitri T's user avatar
  • 13.4k
2 votes

How to use two user defined variables for same thread group?

In the top level User defined Variables config element declare 1 variable server and assign it a value like ${__P(server,test-server-name)} and when you run your test from command line you can pass ...
Abhishek Asthana's user avatar
2 votes
Accepted

Multiple response assertions and Xpath assertions not working

I believe it would be a lot easier to use 4 separate assertions like: Combining several clauses into single assertion is also possible, for example: there are | and and XPath operators there is | ...
Dmitri T's user avatar
  • 13.4k
2 votes
Accepted

How can I Use JDBC Request/Debug Sampler results match with HTTP Response in JMeter?

General recommendation: there are Variable names and Result variable name fields under JDBC Request sampler: Using them you can get "interesting" parts of the JDBC response (or whole response) stored ...
Dmitri T's user avatar
  • 13.4k
2 votes
Accepted

How to get API response XML values in to variables in Jmeter tool for matching purpose with DB?

Extract the value from XML using XPath Extractor, the relevant XPath query would be something like //Product/Id/text() Once done you will be able to compare 2 JMeter Variables: the one from the ...
Dmitri T's user avatar
  • 13.4k
2 votes

How to fix Jmeter Assertion Failure when element is not passing in response

If you need to check that your ${OfferSubTitle} JMeter Variable value equals to Not Found (in other words, how to make your current assertion not to fail) you need to use the following Response ...
Dmitri T's user avatar
  • 13.4k
2 votes

How to use the Blazemeter Step-by-step debugger?

You can move to debugging your script in following way: Step 1 : Create the script as per your business requirement. Here i have created one sample test plan for the reference where i have setup all ...
NarendraR's user avatar
  • 1,573
2 votes

How to use the Blazemeter Step-by-step debugger?

Given successful installation you should be able to see Step-by-Step Debugger entry under "Run" section of JMeter's main menu: On start you will see debugger window where you will be able to inspect ...
Dmitri T's user avatar
  • 13.4k
2 votes
Accepted

How to couple JMeter with Jenkins?

JMeter startup script checks for Java version using Findstr program. On "normal" Windows installation the Findstr program should exist in C:\Windows\System32 directory therefore it should be on your ...
Dmitri T's user avatar
  • 13.4k
2 votes
Accepted

How to store all and multiple response data using setProperty Function in jmeter

I would recommend switching to JSR223 Assertion and Groovy language as: Since JMeter 3.1 it is recommended to use JSR223 Test Elements and Groovy for scripting Groovy has built-in JSON support so ...
Dmitri T's user avatar
  • 13.4k

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