All Questions

Tagged with
Filter by
Sorted by
Tagged with
6 votes
2 answers
14k views

How to get access token with JMeter JSON Extractor and use it?

I'm trying to extract access token from the body response and use it in Header Manager for authorization. The response of the first request is Response Then I use regular expression for extracting ...
Andrew Chichick's user avatar
4 votes
1 answer
9k views

JMeter JSON Extractor, extract all values of one key in a string

Using Apache JMeter ver 3.2 r1790745 (the latest) to test a JSON Web Service, the response is like: [ { "id" : 3, "description" : "Back", "name" : "back" }, { "id" : 1, "description" : ...
brewphone's user avatar
  • 1,326
2 votes
1 answer
5k views

How to use variable extracted in JSON path extractor for further steps of scenario?

I have created one scenario in Jmeter where i am loging in. (For this scenario i am using REST APIs) For this i took one "HTTP Header Manager" , "HTTP Request Sampler". After login i am extracting ...
abhishek's user avatar
  • 335
2 votes
1 answer
196 views

jmeter: I want to extract 2 values from 2 different json objects where 1 json object will validate my condition & other value I want to extract

My JSON Response is : { "results": [ { "attributes": [ { "format": "internal", "name": "resourceid", "type": "STRING", "value": "...
Shraddha Shelke's user avatar
1 vote
0 answers
19 views

JSON path extractor

I have the following JSON response and I wanted to build the JSON expression to extract the "connectionId" based on given "systemId" and "connectionConfig"."type" value. For example, extract "...
Lakshmi Vaimpalli's user avatar
1 vote
1 answer
1k views

Jmeter json path extractor - How to Remove String

I have a problema with the next point: { "id":"3be62315-cd79-4e13-9536-0ee496e72184;1.0", "objectType":"DOCUMENT", "metadata": { "gdoc:filePath":null, "gdoc:filename":...
Samuel's user avatar
  • 13
0 votes
3 answers
776 views

JMeter - Extract value from the variable having JSON data

I am getting following response in one GET API call. { "id": 78929, "created": "04-12-2021 02:37:52", "modified": "04-12-2021 02:37:52", "name": "Applebee", "url": "https://applebee-2....
Prashant Vadher's user avatar
0 votes
1 answer
2k views

Jmeter Json Extractor: JSONPath Expression works on evaluators but not inside jmeter?

I'm facing issue with a jsonpath to extract element from json. Here is an example of the json: [ { "idA":"104", "idB":"2941", "idC&...
BenDev's user avatar
  • 369
0 votes
1 answer
624 views

Cannot install JMeter's JSON Path Extractor Plugin

I cannot install JSON Path Extractor Plugin from Plugin manager nor manually. I saw this answer but I cannot find the plugin by name using plugin manager and the same here https://jmeter-plugins.org/...
eeadev's user avatar
  • 3,722
0 votes
1 answer
61 views

How can i extract the order id from below stringy json in jmeter?

How to extract the order id from below code {"status": "OK", "data": {"ExecutionComplete": true, "Result": "{\"status\": \"OK\&...
Muthu's user avatar
  • 33
0 votes
2 answers
146 views

Jmeter - JSON Extractor - Large numbers erroring

Hope someone can help me :) I have the response json below : "endValue":{"amount":12515920.97,"currencyCode":"EUR"} and I'm using the JSON extractor to ...
AnaBF's user avatar
  • 3
0 votes
1 answer
2k views

Extracting values from JSON with top level array using Jmeter JSON Extractor

In my JMeter test plan, I have a sampler which returns the list of authors and their books in JSON format. I would like get the id of all authors only. That is, In this case, I should get [1,2,3] in a ...
JSDeveloper's user avatar
0 votes
3 answers
1k views

Jmeter JSON Extractor with one node empty

I have a JSON Response like this `{ "data": [ { "id": "1", "type": "status", "created_time": "2010-08-02T22:27:44+0000", "updated_time": "2010-08-02T22:...
Sandeep Sharma's user avatar
0 votes
1 answer
974 views

In JMeter when I try to pass a value using JSON Extractor only the default value is passed

My JMeter script seems to only want to pass the default value from the JSON Extractor to the next call. I think the issue maybe with my expression. Response JSON looks like this: {"...
Bob Small's user avatar
  • 123
0 votes
1 answer
35 views

How to extract 1 value from multiple JSON bodies in JMeter JSON Extractor?

Hope all is well with you guys. In JMeter, I have a thread group to add items to cart for 2 users which results in 2 responses with 2 different bodies and different Cart IDs. What I want is to extract ...
Mohammad Wadi's user avatar
0 votes
1 answer
37 views

trying to pass the value (which is extracted from json path extractor) to the next http request

I have extracted 10 values from a Json path extractor, naming device_1,device_2,device_3 to device_10. I am able to see these 10 values in debug sampler and now i want to pass on these value to the ...
khushbu's user avatar
0 votes
1 answer
278 views

How to identify the specific true or false value from json assertion using jmeter?

The requirement is we have to identify "elements" and then check if its true or false. { "first": { "second": [ { "element": 1, "...
Test's user avatar
  • 49
0 votes
1 answer
2k views

How to extract nested elements in JSON response using JSON extractor in JMeter

I would like to extract an element based on a condition inside a nested JSON response. Using the widely searched example below, I would like to extract the storeid of all books authored by "Foo ...
achan's user avatar
  • 1
0 votes
1 answer
25 views

JSON extractorion issue

I have a JSON like below and I want to extract ID using a username by json extractor expression. I am using $..username , it give me all the username. what I need is that I pass username = Albert and ...
Waseem Mir's user avatar
0 votes
1 answer
671 views

Using JSON extractor to extract values from the response

I have 2 requests. In one request I have used the random text generator and generated some random string and passed that to a variable. After that a new record is created with than random name and ...
rutujit diwate's user avatar
0 votes
0 answers
288 views

JSON Extractor : Extract from Sampler Result and from response and use in another HTTP request

I am new to JMeter and trying to extract the ApplicationCookie from Sampler Result, which looks like below .AspNet.ApplicationCookie=j6rRWJLR44frKxJn3skUv-...
Jaydev's user avatar
  • 21
0 votes
1 answer
72 views

Json extractor make HTTP request stop

After i installed jmeter component from link [enter link description here][1][1]: https://github.com/ATLANTBH/jmeter-components, i create HTTP request to login and use json extractor to get access ...
Luasg's user avatar
  • 93
-2 votes
1 answer
85 views

How to get number of matched elements in Extractor(Json/css/xpath)

As you cans see, it is a JSON extractor element in JMeter and we can find BookName elements. Question is, how to find total matched elements?
Mahsum Akbas's user avatar
  • 1,573