Skip to content

SSL verification error during the execution of generated tests #1286

@Na-na13

Description

@Na-na13

Hi!

I’ve been experimenting on EvoMaster in blackbox mode. The test generation worked as expected, resulting in several executable test cases, but when trying to execute those tests, SSL verification error is raised, likely due to the use of HTTPS. EvoMaster is run with following command line options:

java -jar evomaster.jar
--blackBox true
--bbSwaggerUrl "file://$(pwd)/db/mysql/config/oauth2-${service}/openapi.yaml"
--bbTargetUrl "https://localhost:${port}"
--outputFolder "${service_output_directory}"
--maxTime 30s
--ratePerMinute 60

From what I understand, this issue can be bypassed by adding the keyword argument ‘verification=false’ to the requests calls in test cases. Is there a way to configure EvoMaster so that the generated tests automatically include this argument? (N.B. The target system does not accept the use of HTTP.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions