Skip to content
Snippets Groups Projects
Commit 8f0ea768 authored by Georgi Michev's avatar Georgi Michev
Browse files

Merge branch '18-scenario-advanced-cache-content-access' into 'main'

Resolve "[Scenario] Advanced cache content access"

Closes #18

See merge request eclipse/xfsc/tsa/tests!5
parents fb332700 6b5a880e
Branches
Tags
1 merge request!50Resolve "[Test] Policy Changes Notification"
......@@ -82,3 +82,36 @@ Feature: API -TSA - Cache - v1/cache GET
When I send the Cache GET request via TSA Cache API
And the field {allow} has the value {true}
And the field {id} has the value {did:web:gaiax.vereign.com:tsa:policy:policy:example:returnDID:1.0:evaluation}
@phase2
Scenario: TSA - Working with Cache multiple scope - Positive
When I load the REST request {Cache.json} with profile {successful_set_multi_scope}
And I load value {scope} into current request HEADER {x-cache-key}
And I send the Cache POST request via TSA Cache API
And the status code should be {201}
Then I clear the request body
And I send the Cache GET request via TSA Cache API
Then the status code should be {200}
And the field {msg} has the value {successful setting the cache}
@phase2
Scenario: TSA - Working with Cache multiple namespace - Positive
When I load the REST request {Cache.json} with profile {successful_set_multi_namespace}
And I load value {namespace} into current request HEADER {x-cache-key}
And I send the Cache POST request via TSA Cache API
And the status code should be {201}
Then I clear the request body
And I send the Cache GET request via TSA Cache API
Then the status code should be {200}
And the field {msg} has the value {successful setting the cache}
@phase2
Scenario: TSA - Working with Cache multiple key - Positive
When I load the REST request {Cache.json} with profile {successful_set_multi_key}
And I load value {key} into current request HEADER {x-cache-key}
And I send the Cache POST request via TSA Cache API
And the status code should be {201}
Then I clear the request body
And I send the Cache GET request via TSA Cache API
Then the status code should be {200}
And the field {msg} has the value {successful setting the cache}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment