IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link

Can we override the properties value through command line while running behaviour test. #149

Closed GeitRavi closed 1 year ago

GeitRavi commented 2 years ago

Can we override the properties value through command line while running behaviour test (lmctl project test )

There are few parameter/properties are defined in Configuration file under Behaviour tests. Is there any way we can override the value present in config.json while executing lmctl project test command ?

behavior Dir structure


Config.json

{ "name": "Example", "projectId": "$lmctl:/Example", "description": "test example", "descriptorName": "$lmctl:/example", "properties": { "deploymentLocation": "example", "host": "", "user": "", "ssh_pass": "" } }

dvaccarosenna commented 2 years ago

Hi @GeitRavi, no there isn't. The Behaviour Testing API does not support this either, for a single execution. You have to update the Configuration first, then run the Scenario.