Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

172
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda