Writing to the jmeter.log

I wanted to log some messages to the jmeter.log file during the script execution to help with debugging. The great thing with the jmeter.log file is that you can see it from both the GUI or the comand line. To write to the jmeter.log all you need to do is use< log.info("YOUR TEST") It will even write out variables as long as they are encased in ${}.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s