Performance Testing Exper Jmeter Write data into External File

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 24

  • @mrunaltalokar4623
    @mrunaltalokar4623 2 роки тому

    Can we get such more intresting videos it was awesome !

  • @lavanyar6792
    @lavanyar6792 4 роки тому

    Its working ...thanks for the details

  • @itsrckin
    @itsrckin Рік тому

    How can I capture a user defined variable in my post request. The variable it’s a random number generator. ${OrderID}. I want it to write the random number to a csv file

  • @surekhasamarth5327
    @surekhasamarth5327 4 роки тому

    Thanks for this video, it was really helpful.

  • @swarnendubhattacharjee2201
    @swarnendubhattacharjee2201 3 роки тому

    Thanks for the video.This helps

  • @rameshreddy8968
    @rameshreddy8968 2 роки тому

    Hi ,I have one query , I want capture list of values and need to print in csv file for that I will give match count -1 getting all the values in debug sampler...when I tried to print using beanshell post processor it'printing null ...if I give match count 1,2,0..it is printing the values....can you help me hw to print all the list of values in csv file?...

  • @sathishsubramani4840
    @sathishsubramani4840 3 роки тому

    Hi, Awesome content and it worked great. Thank You !!!

  • @JagsPriLifeAndLiving
    @JagsPriLifeAndLiving 5 місяців тому

    After writing the same code also csv file is not getting generated. Any idea??

  • @premkishengarnimitta5952
    @premkishengarnimitta5952 11 місяців тому

    Hi Sir,
    I have one reference number generating dynamically which I need in Excel. Can you pls help me with the code.

  • @SuryaVeda
    @SuryaVeda Рік тому

    How to write response of specific valu in specified column of excel

  • @nayeramohamed4429
    @nayeramohamed4429 3 роки тому

    first thank you it was very useful for me
    second, i want to ask question please : if i have more than output it appears in same cell i want to separate them in separated rows )
    example
    output like 149714981499 in same cell
    i want to be like this
    1497
    1498
    1499
    in separate rows what can i do ?

    • @performancetestingexpert9351
      @performancetestingexpert9351  3 роки тому

      Hi Nayera, You can go through my other videos related to beanshell and your problem should be fixed. If still face any challenge please comment i will try to help you. For more videos please subscribe my channel.

  • @poleyadiripoley9798
    @poleyadiripoley9798 3 роки тому

    Can we save data in xlsx file?

    • @performancetestingexpert9351
      @performancetestingexpert9351  3 роки тому +1

      Hi Poley, we can save data in .xls file but not sure about .xlsx. For more details you can subscribe to my channel to get notification when i will post video around it. Very soon i am planning for the same

  • @swarnendubhattacharjee2201
    @swarnendubhattacharjee2201 3 роки тому

    Can you please let me know how to make a new line for each data to save ?
    is not working.
    Also how to concatenate a value with additional values?

    • @performancetestingexpert9351
      @performancetestingexpert9351  3 роки тому

      Hi Swarnendu, Very soon i will publish more videos containing answer of your doubts. You can subscribe my cahnnel to get notification for those videos.

    • @abbaskhan5456
      @abbaskhan5456 2 роки тому

      you can get new line with this code,
      out.write(System.getProperty("line.separator))
      write this code at the end of your content, code will be execute with the new line with every loop

  • @jaideeprp9034
    @jaideeprp9034 3 роки тому

    how to add two variables side by side in the same line on next location in an CSV file

  • @harneksingh2178
    @harneksingh2178 Рік тому

    I used the below code but it is not creating the file for me.
    import java.io.file;
    import org.apache.jmeter.services.Fileserver;
    import java.io.FileWriter
    import java.io.PrintWriter;
    import java.util.Arrays;
    import java.io.Writer;
    File file = new File("D:/Results/Output.xlsx");
    FileWriter fstream = new FileWriter(file,true);
    BufferedWriter out = new BufferedWriter(fstream);
    out.write("test1");
    out.write("test2");
    out.close();
    fstream.close();