I have moved this to the relevant forum as suggested..
Hi,
Firstly great work on the Client which is brilliant.
I'm really interested in integrating the ZAP API alongside our current test automation so I'm keen to understand the current status of the project using cucumber.
I appreciate its still a work in progress and there are obviously a few things not working.
Essentially we are just wanting to run the (app_scan.feature) tests initially then expand from there.
When I run them as a JUnit Runner I keep getting an error when running via the JUnit runner:
package junit;
import cucumber.api.CucumberOptions;
@CucumberOptions(
features = {
"src/test/resources/cucumber/features"
},
glue = {"stepdefs"},
tags = { "@scan_sql_injection" }
)
public class AppScanTestSuite extends BaseCucumberTestCase {
}
net.continuumsecurity.proxy.ProxyException: org.zaproxy.clientapi.core.ClientApiException: URL Not Found in the Scan Tree
at net.continuumsecurity.proxy.ZAProxyScanner.scan(ZAProxyScanner.java:201)
at stepdefs.security.AppScanningSteps.runScanner(AppScanningSteps.java:272)
at ✽.When the scanner is run(app_scan.feature:18)
Interestingly the tests for the Feature: Navigate App work absolutely fine out of the box but that uses the spider rather than scan method.
For now I have a local Tomcat deployed war of the ropeytasks website which is pointing at ropeytask in my config.xml
We are using the 2.4.3.jar included in the git project and running on a mac if that is relevant.
Any advise or extra logs I need to include?
Thanks
Iain