WiSdOm - JMeter POST HTTP Request with Multiple JSON inputs

Опубликовано: 29 Май 2020
на канале: WiSdOm - Vision for Learning
20,201
416

Today we are going to do a JMeter Post Method with Multiple JSONs inputs

1. Place the JSON file in a folder location
2. Place a csv file with the JSON file names listed in it
3. Open JMeter and create the project as per the previous videos
4. Add additional element CSV Data Set Config
5. Add Headers
6. Setup HTTP request
7. HTTP Request Body - We are using FiletoString function to send multiple JSON inputs
${__FileToString(C:/SW/InputJson/${__eval(${JSON_FILE})}.json,,)}
8. Here we add the JSON files and the JSON id list csv file in the above added location
9. Setup CSV Data Set Config
10. Add the json id list csv file location to the Filename field
11.Add the variable name as JSON_FILE
12.Add the no of JSON files in Thread Group
13.Execute
14.We can see the request and the response results in View Results Tree

All 5 JSONs are successfully input to the JMeter and successfully returned the responses.

Hope you enjoyed and learned from our video…..

Please subscribe to our channel Wisdom and like our videos

Have a nice day.....!!!!!!


На этой странице сайта вы можете посмотреть видео онлайн WiSdOm - JMeter POST HTTP Request with Multiple JSON inputs длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь WiSdOm - Vision for Learning 29 Май 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 20,201 раз и оно понравилось 416 зрителям. Приятного просмотра!