performance-samples | show APIs and best practices | Performance Testing library
kandi X-RAY | performance-samples Summary
kandi X-RAY | performance-samples Summary
Samples to show APIs and best practices in Performance on Android
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of performance-samples
performance-samples Key Features
performance-samples Examples and Code Snippets
Community Discussions
Trending Discussions on performance-samples
QUESTION
I am using JMeter tool to send some rest API request to jBPM. I use this post request to create process instances in JBPM with JMeter:
This one creates two process instances with id 1 and another process instance with id 2.
I use this one to extract the process instance id = 1
:
I use this one to get and exctract the task id:
How can I modify the JMeter tool to extract only the second process id, for example in my case to extract the process instance id=2
? I tried to add +1 in the Regular Expression but it didn't work. I tried it with postman also and this configuration I made only works if I extract the second process instance id, because only the second one have data's like this:
ANSWER
Answered 2021-Jun-05 at 06:31We cannot help without seeing full response including what do you want to extract.
One thing is obvious: JSON is not a regular language therefore using regular expressions for parsing it is not the best idea.
JMeter provides JSON Extractor and JSON JMESPath Extractor designed for working with JSON so there is much more convenient, robust, reliable and powerful way of getting the data out of JSON responses, filtering it, running various functions, etc.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install performance-samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page