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 ...
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 4,510
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()=...
user avatar
  • 12.5k
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 ...
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 809
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/...
user avatar
  • 4,510
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 ...
user avatar
  • 453
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" ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k
2 votes

Sending in consecutive sets of users in jmeter

Your I just need them to execute each HTTP request once. stanza conflicts with the scenario described as the thread, representing a virtual user will be shut down when there is nothing more to do and ...
user avatar
  • 12.5k
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: ...
user avatar
  • 123
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 ...
user avatar
  • 4,510
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 ...
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 ...
user avatar
  • 4,510
2 votes

JMeter: Holding Session for a certain period of time

That depends on how your system defines a login session. Typically it is the server, not the client, that decides when a login session is over. You need to figure out (or ask a developer to describe)...
user avatar
  • 22.8k
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 ...
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k
2 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 |...
user avatar
  • 12.5k
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 ...
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 | ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k
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 ...
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 ...
user avatar
  • 12.5k
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 ...
user avatar
  • 12.5k

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