How to create a more detailed messaging for Jmeter Junit Sampler

I noticed that when I run the Junit sampler with Jmeter, the messaging is pretty bare. If an exception occurs, Jmeter will report it, but everything else that happens in my tests should be output using Log4J or another logging tool. Is there a way to just return the result to Jmeter? Do they have an API for this?

+3
source share
2 answers

Have you considered a simple data writer as an option?

You can also make a BeanShell script to analyze and write the results to a file.

+2
source

You can add approval results to a log file.

  • " " " "
  • " "
  • "" " / ". "", .
+1

Source: https://habr.com/ru/post/1785257/


All Articles