[test-only] Api test. Checking X-Request-Id in response header (#6765)
* check X-Request-Id in response header * style
This commit is contained in:
@@ -18,6 +18,8 @@ Feature: Propfind test
|
||||
Given user "Alice" has uploaded a file inside space "new-space" with content "some content" to "testfile.txt"
|
||||
When user "Alice" sends PROPFIND request to space "new-space" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the following headers should match these regular expressions
|
||||
| X-Request-Id | /^[a-f0-9!\-]{36}$/ |
|
||||
And the "PROPFIND" response should contain a space "new-space" with these key and value pairs:
|
||||
| key | value |
|
||||
| oc:fileid | UUIDof:new-space |
|
||||
@@ -34,6 +36,8 @@ Feature: Propfind test
|
||||
| role | <role> |
|
||||
When user "Brian" sends PROPFIND request to space "new-space" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the following headers should match these regular expressions
|
||||
| X-Request-Id | /^[a-f0-9!\-]{36}$/ |
|
||||
And the "PROPFIND" response should contain a space "new-space" with these key and value pairs:
|
||||
| key | value |
|
||||
| oc:fileid | UUIDof:new-space |
|
||||
|
||||
Reference in New Issue
Block a user