Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
how can i store the JsonExtractor return in an array after each http request in Jmeter?

I have a JsonExtractor, which takes the value returned in the "requestprotocolId", I use it in the next Thread Group because this value is passed in the next API request, but when I make 50 requests for example, it will return 50 "requestProtocolId" but they they will not return all at once, it will be one per request, so I want the value returned in this field to be stored in an array at each request, and when I finish the Thread Group and move to the next one I can use all these "requestProtocolId" in the next request , one at a time. Would it be possible?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

  1. The next request doesn't have to necessary be in the "next Thread Group", it can be in the same Thread Group, this way you won't have to convert JMeter Variables (which are thread-local) into JMeter Properties or use Inter-Thread Communication Plugin

  2. If you want to collect 50 "requestprotocolId"s from 50 separate requests into some form of array - it can be done using JSR223 PostProcessor, take a look at the following materials:

    • Apache Groovy - Parsing and producing JSON
    • Apache Groovy - Why and How You Should Use It
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!