--- - config: - testset: "Keystone tests" - test: - name: "Generate Domain Scope Token" - variable_binds: {'domain_token_json':'json/cloud_admin_domain_scope_token_request.json'} - url: "/v3/auth/tokens" - method: "POST" - headers: { "Content-Type" : "application/json" , "Accept" : "application/json"} - body : {'file':{'template':'$domain_token_json'}} - expected_status: [201] - extract_binds : - "domain_token" : { "header" : "X-Subject-Token" } - test: - name: "Update domain" - variable_binds: {'updatedomain':'json/updatedomain.json'} - url: "/v3/domains/cdf290879b88410ba2cb478cfd4ce21a" - method: "PATCH" - headers: {template: { "Content-Type": "application/json" , "Accept": "application/json" ,"X-Auth-Token" : "$domain_token"}} - body : {'file':{'template':'$updatedomain'}} - expected_status: [200]