JMeter Performance Testing Tutorial 21- How to Use CSV Data Config for Data-Driven Testing in JMeter

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 20

  • @TestingFunda
    @TestingFunda  2 года назад +1

    😊 Hello and thank you for watching! We'd love to hear your opinions in the comments section.
    👉 For more videos on JMeter Performance Testing, please visit: ruclips.net/video/hrrV0xKuZw8/видео.html
    👉 Don’t forget to SUBSCRIBE to our channel for more such videos & valuable content: ruclips.net/user/TestingFunda

  • @andrewkotov3234
    @andrewkotov3234 Год назад +1

    The number of test users in CSV file should correspond the number of threads?

  • @gayatritankar7856
    @gayatritankar7856 Год назад +1

    hello sir, i have followed all those steps properly, still get errors in some of the threads, why it's happening

    • @TestingFunda
      @TestingFunda  Год назад

      What are the errors ?

    • @gayatritankar7856
      @gayatritankar7856 Год назад +1

      some threads are running properly and some are not, get an assertion failure message, I did not use any repetitive username still got this error, I don't understand why it's happening@@TestingFunda

    • @TestingFunda
      @TestingFunda  Год назад

      @gayatritankar7856 please share the error message. So that I can better guide you.

    • @gayatritankar7856
      @gayatritankar7856 Год назад +1

      @@TestingFunda just solved sir, thanks for your reply🙏

    • @TestingFunda
      @TestingFunda  Год назад +1

      @@gayatritankar7856 great 👍

  • @pavithram487
    @pavithram487 Год назад +1

    Hi, I have Thread Group with three requests (login, do some process, logout) I'm passing data's(1500 data) from csv config file for login and do some process request. It is working fine if i give thread count as 1500, but i want to run the thread group in loop for infinite time were after reaching 1500 data in csv file again it should continue from the first row. I tried a lot but it is not working.For Login, after reaching 1500 data it again starts from 1st but for the next request after reaching 1500 data it takes empty data from csv file even though i have set true for recycle EOF. Can you just give me a solution. Thanks

    • @TestingFunda
      @TestingFunda  Год назад

      You have 3 requests and Thread count should be 3 times. For example , Your CSV contains 1500 Test data then in thread group you need to set 3*1500 = 4500. It will work. But this is not a good practise, there should be seperate thread group for each functionality.

    • @pavithram487
      @pavithram487 Год назад

      @@TestingFunda Actually there are 1500 users each users we will login and fetch data from 2 csv file and do some processing and logout, the same is repeated for 1500 users(1500 login details and 1500 data for processing). This i wanted to run in loop for infinite time.

  • @KaranSharma-ik4tp
    @KaranSharma-ik4tp 4 месяца назад +1

    How can we send all the data present in csv file in one go?
    My request body is below and my requirement is that in the API, I have to send t0, t1....t100 in one go to perform load testing using Jmeter. Please guide!
    "target": [
    {
    "code": "XY",
    "country": "US",
    "deptType": "Sales",
    "id": "t0"
    },
    {
    "code": "GI",
    "country": "US",
    "deptType": "Engineering",
    "id": "t1"
    }
    ]
    }

    • @TestingFunda
      @TestingFunda  3 месяца назад

      To send all data from a CSV file in one go with JMeter, you can use the CSV Data Set Config to read the file and then create a loop to assemble your request body. This way, you can dynamically include all entries from your CSV in the API call for efficient load testing.

  • @vivekhegde9928
    @vivekhegde9928 Год назад +1

    How to use thi method for post request?

    • @TestingFunda
      @TestingFunda  Год назад

      In this example tutorial I have covered the post request

  • @amerkhan8675
    @amerkhan8675 Год назад +1

    Works well. Thank you

  • @Missclassynova
    @Missclassynova 2 года назад +1

    API not working