I have scenario which tests an Micro service. Scenario Outline: Run Object Queries
Scenario Outline: Run Object Queries
Given url homeLinks.queryUrl
And header Content-Type = 'application/x-www-form-urlencoded'
When method post
Then status 200
Then print response
Print statement is not logging anything to console in InteliJ editor. I tried to run in debug mode as well.
I referred KARATE : can not see print statements on console in karate which didn't help.
Any config changes required to print the logs?
Normally people don't run into issues. Refer the docs here: https://github.com/intuit/karate#logging
If you have mixed Karate into a project with a lot of other dependencies this may happen. I suggest you try the Maven quickstart and that will work correctly out of the box: https://github.com/intuit/karate#quickstart
Then it is a matter of comparing the setup with your project. If you still get stuck, follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With