whenever i ran the test logs are not displayed in log viewer panel in application ,logs are dispalyed in command prompt.Can anyone pls suggest for this issue how can i see logs in log viewer panel instead of cmd prompt i was enabled logviwer check box also
You may add JSR223 Sampler and write this code in Groovy:
In that case you will see message in cmd console window.
If you want to print your message to JMeter Log Viewer use this code instead:
log.info("Test message:" + vars.get("yourVariableName"));