Answered question

How can i add a text to logs

I want to add a text to logs for debug. i tried to use "logger.debug("qwerty exam log");" and "logger.info("qwerty exam log");" in JavaScript action but i can see them in Logs

minh P.
minh P.

minh P.

Level
0
2 / 100
points

You need to check the Javascript logging level in your NeoLoad preferences so it can match your logger level.

For instance, go to menu "Edit-->Preferences-->Project settings tab --> Runtime parameters.

If you use "logger.debug" you need to select "DEBUG" from the drop down list.

 

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful