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
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.5k
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.5k
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.5k
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

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

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

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.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 ...
Dmitri T's user avatar
  • 13.5k
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.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 ...
Dmitri T's user avatar
  • 13.5k
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

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.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 ...
Dmitri T's user avatar
  • 13.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 ...
Dmitri T's user avatar
  • 13.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 ...
Dmitri T's user avatar
  • 13.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 ...
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.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 ...
Dmitri T's user avatar
  • 13.5k
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.5k
2 votes

How to Run Entire Test Plan continuously for multiple Times in JMeter(Not thread group )

Check out Test Fragments and Module Controller test elements. You can define your so called "Thread Groups" as Test Fragments and refer them via Module Controllers orchestrating the test flow and ...
Dmitri T's user avatar
  • 13.5k
2 votes
Accepted

Condition Inside IF controller Not giving proper Result in JMeter

The easiest way of debugging If Controller is enabling logging for it, you can do it in 2 ways: From JMeter GUI having the If Controller selected choose Help -> Enable Debug Or by adding the next ...
Dmitri T's user avatar
  • 13.5k
2 votes
Accepted

parallel ajax calls in jmeter

If you would like to keep your existing test design you can consider using Inter-Thread Communication Plugin so LoadSession thread will wait for cookie from Login, etc. However faster and easier ...
Dmitri T's user avatar
  • 13.5k
2 votes

How to generate HAR file after running a test using Jmeter?

Add JSR223 PreProcessor as a child of your WebDriver Sampler Put the following code into "Script" area def proxy = new net.lightbody.bmp.BrowserMobProxyServer() proxy.setHarCaptureTypes(net....
Dmitri T's user avatar
  • 13.5k
2 votes

JMeter executing samplers in sequential order wherein each subsequent request depends on the response of the preceding one?

You are doing something very weird. JMeter threads are totally independent and each thread has its own context, variables, cookies, etc. So If you have 1 thread - it will execute 8 requests in ...
Dmitri T's user avatar
  • 13.5k
2 votes

How can i simulate a load for downloading a file for 500 users?

Using Selenium for just downloading a file is a little bit overkill as normally people go for Selenium and JMeter integration via WebDriver Sampler to test client-side performance while the system is ...
Dmitri T's user avatar
  • 13.5k
2 votes
Accepted

Jmeter env custom function doesn't read environment variable

When you use User Defined Variables remove the quotation marks around "password", to wit: ${__env(password,,) When you use JSR223 Elements don't inline the function into the script body, either go ...
Dmitri T's user avatar
  • 13.5k

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