EvoMaster
EvoMaster copied to clipboard
Authentication required when accessing schema
TestcontainersConfiguration - Attempted to read Testcontainers configuration file at file:/Users/{USERS}/.testcontainers.properties but the file was not found. Exception message: FileNotFoundException: /Users/{USER}/.testcontainers.properties (No such file or directory)
- [ERROR] ERROR related to the system under test: Cannot retrieve OpenAPI schema from http://localhost:8080/v3/api-docs , status=403 , body:
Authentication required
For white-box testing, look at the logs of the EvoMaster Driver to help debugging this problem.Other important info:
- Version 2.0.0
- using JAR
- openjdk version "1.8.0_372"
- java -jar evomaster.jar --maxTime 20s --outputFolder src/test/java
I Dont know what is the configuration of .testcontainers.properties to allow run evomaster
hi. two points:
- ignore testcontainers. it is not relevant (although we should make sure that such misleading warning does not end up in the logs)
- it looks like the endpoint with the schema is protected with auth. currently, we have no mechanism to bypass that. easiest thing is to put the schema on local disk, and make a
file:/url pointing to it