5 | JMeter | Listeners |

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

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

  • @xXMrThomasXx
    @xXMrThomasXx 6 месяцев назад

    Thank you, another good tutorial, thx for that :)

  • @ekasav4008
    @ekasav4008 3 года назад

    Hello, massive thanks for what you are doing! Easy, clear, great!
    Btw, you do not need to create the file for Simple Data file on your computer in the beginning. Just when you click Button Browse, choose where to create the file, and write the name of the file into the field File name. Basically, it's the same window. Then click the button Open - it automatically creates the file on your computer.

    • @RaghavPal
      @RaghavPal  3 года назад

      Thanks for adding Eka

  • @vnecksurferdude7041
    @vnecksurferdude7041 3 года назад +1

    How do you get the time stamp column in the csv/xls file to display correctly instead of an exponential number? I tried saving the file after formatting the column as a date and other types but that did not work.

    • @RaghavPal
      @RaghavPal  3 года назад +3

      Hi, this will help ruclips.net/video/r6-H5ufOvv4/видео.html

    • @vnecksurferdude7041
      @vnecksurferdude7041 3 года назад

      @@RaghavPal Thank You!!

  • @eduardovargas741
    @eduardovargas741 3 года назад

    Muchas Gracias por la explicación, muy buena.
    Saludos desde México

  • @muhammadfandlyfadlurachman2887
    @muhammadfandlyfadlurachman2887 2 года назад

    Thanks for detail tutorial, its useful and easy to understand

  • @indrajittt
    @indrajittt 9 дней назад

    How to create a listener with my own custom column? (e.g. value of particular key from the reaponse)

    • @RaghavPal
      @RaghavPal  9 дней назад

      Indrajit
      In JMeter, create a custom listener with a specific column by using BeanShell or JSR223 PostProcessor and a script. Steps:
      Add a PostProcessor:
      Attach a JSR223 PostProcessor to your sampler.
      Extract the Key Value: Use a script like this to get the desired key from the response:
      groovy
      def keyValue = new groovy.json.JsonSlurper().parseText(prev.getResponseDataAsString()).yourKey
      vars.put("customKey", keyValue)
      Create a Listener:
      Add a Simple Data Writer or View Results in Table.
      Use ${customKey} to add your custom column in the listener output.
      -

    • @indrajittt
      @indrajittt 8 дней назад

      @@RaghavPal i have created the variable. but can't find where to add it in listener output. there is no option to add any column

    • @RaghavPal
      @RaghavPal  8 дней назад +1

      Indrajit
      Add Custom Column in Listener Output:
      Simple Data Writer:
      Add Simple Data Writer Listener.
      Configure CSV Output in Preferences: Add ${customKey} to output fields.
      JSR223 Listener (Custom File):
      groovy
      def writer = new FileWriter("custom_results.csv", true)
      writer.write("${prev.getSampleLabel()}, ${vars.get('customKey')}
      ")
      writer.close()
      Label Workaround:
      groovy
      sampler.setName(sampler.getName() + " | ${vars.get('customKey')}")
      Key appears in Label column
      Done!

  • @santhuravikanti4988
    @santhuravikanti4988 3 года назад

    Thanks a lot taking time and creating videos for community and helping the people .
    small suggestion from my side while you are explaining the reports ,could you please explain about terminology like what is throughput ...

    • @RaghavPal
      @RaghavPal  3 года назад

      Sure, I will elaborate on this

  • @ahmettemel8245
    @ahmettemel8245 2 года назад

    thank you

  • @vigneshngws6684
    @vigneshngws6684 3 года назад

    Thanks

  • @jaytest2011
    @jaytest2011 2 года назад

    Hello,Can you create video & explain Backend listener in details ?

    • @RaghavPal
      @RaghavPal  2 года назад

      I will check and plan Jay

  • @deepakkumarmoharana3530
    @deepakkumarmoharana3530 2 года назад

    In view result tree I'm getting error , So How to validate it?

    • @RaghavPal
      @RaghavPal  2 года назад

      will need to check the error and logs Deepak

    • @deepakkumarmoharana3530
      @deepakkumarmoharana3530 2 года назад

      @@RaghavPal Which listener is good for to show dev team ,which error ?

    • @RaghavPal
      @RaghavPal  2 года назад

      Any tabular listener with all details needed will be good