Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

171
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda