0

I would like to ask whether it is possible on JMeter to recreate the response on the web browser. Just some quick tip will do. Here is the response that it needs.

Image for the response for JMeter

My configuration is that I have a CSV file that contains all the ID i need. Then it is inside an Loop controller where I loop it for many times as I needed for selection.

Configuration

Hope someone can help me. Thanks

asked Oct 16, 2019 at 14:07

2 Answers 2

0

You cannot use Loop Controller for this as it will read one entry per Loop Controller's iteration.

If you want to create a request having many JSON objects originating from CSV file I would recommend doing it via JSR223 PreProcessor and Groovy language.

The Groovy class you're looking for is JsonBuilder.

If you need further help consider providing:

  1. Screenshot of the CSV Data Set Config
  2. At least first 2 lines of the CSV file as text
  3. At least 2 first JSON objects of the request as text
answered Oct 22, 2019 at 14:26
0
0
answered Oct 28, 2019 at 6:51

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.