Debugging Asqatasun

Add more log

You may add or customize logs in the two main projects (webapp or REST API server). In both cases it is in the logback-spring.xml file:

For instance, to display all the DEBUG information related to the Firefox managed by Selenium, you may add:

<configuration>
    ...
    <logger name="jp.vmi.selenium.selenese" level="DEBUG"/>
    ...
</configuration>

Display the Firefox launched by Asqatasun

You may display the Firefox window that actually loads the audited webpage when you run Asqatasun in your IntelliJ. This is especially useful when you try to understand why a scenario fails. To do so, you can add in the VM options:

-Dapp.engine.loader.selenium.headless=false

You may also pass the same option as Program arguments:

--app.engine.loader.selenium.headless=false

(Note that -D is replaced by --)