Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cogsys
Dare2Del
Demonstrator - Reasoning WebAPI
Commits
fbc1ebf1
Commit
fbc1ebf1
authored
Jun 12, 2021
by
Siebers, Michael
Browse files
refined specific robustness tests
parent
23da7ad7
Changes
6
Hide whitespace changes
Inline
Side-by-side
tests/api/robust_bg_non_item_payload-data.json
View file @
fbc1ebf1
...
...
@@ -17,6 +17,7 @@
{
"request_body"
:
"{
\"
type
\"
:[1,2,
\"
a
\"
],
\"
abs_path
\"
:
\"
A/B
\"
,
\"
creation_time
\"
:1604235509}"
},
{
"request_body"
:
"{
\"
type
\"
:{
\"
key
\"
:
\"
value
\"
,
\"
other
\"
:8},
\"
abs_path
\"
:
\"
A/B
\"
,
\"
creation_time
\"
:1604235509}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:
\"
A/B
\"
,
\"
creation_time
\"
:1604235509}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
directory
\"
,
\"
abs_path
\"
:
\"
A/B/
\"
,
\"
creation_time
\"
:1604235509}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
directory
\"
,
\"
abs_path
\"
:-6,
\"
creation_time
\"
:1604235509}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
directory
\"
,
\"
abs_path
\"
:324.3907,
\"
creation_time
\"
:1604235509}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
directory
\"
,
\"
abs_path
\"
:[],
\"
creation_time
\"
:1604235509}"
},
...
...
@@ -34,6 +35,7 @@
{
"request_body"
:
"{
\"
type
\"
:[
\"
file
\"
],
\"
abs_path
\"
:
\"
testfile.ext
\"
,
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
{
"request_body"
:
"{
\"
type
\"
:{
\"
key
\"
:-1,
\"
value
\"
:null},
\"
abs_path
\"
:
\"
testfile.ext
\"
,
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:
\"
testfile.ext
\"
,
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
unknown
\"
,
\"
abs_path
\"
:
\"
testfile.ext/
\"
,
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
file
\"
,
\"
abs_path
\"
:788,
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
file
\"
,
\"
abs_path
\"
:8.343,
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
{
"request_body"
:
"{
\"
type
\"
:
\"
file
\"
,
\"
abs_path
\"
:[
\"
no
\"
,
\"
value
\"
],
\"
file_size
\"
:1024,
\"
creation_time
\"
:1604235569,
\"
modification_time
\"
:1604235569,
\"
access_time
\"
:1604235569,
\"
change_time
\"
:1604235569,
\"
media_type
\"
:
\"
other
\"
,
\"
filename_extension
\"
:
\"
ext
\"
}"
},
...
...
tests/api/robust_bg_non_item_payload-tests.json
View file @
fbc1ebf1
...
...
@@ -130,7 +130,7 @@
"remove"
]
},
"description"
:
"
Add
a single, previously
un
known file (good case)."
"description"
:
"
Remove
a single, previously known file (good case)."
},
"response"
:
[]
}
...
...
@@ -178,15 +178,5 @@
]
}
}
],
"variable"
:
[
{
"key"
:
"request_body"
,
"value"
:
""
},
{
"key"
:
"response-schema:error"
,
"value"
:
""
}
]
}
\ No newline at end of file
}
tests/api/robust_explain_non_path_payload-data.json
View file @
fbc1ebf1
...
...
@@ -11,6 +11,7 @@
{
"request_body"
:
"123456789101112131415161718192021222324252627282930"
},
{
"request_body"
:
"[1,2,3]"
},
{
"request_body"
:
"{}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:
\"
no_path/
\"
}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:65}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:23.48}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:[]}"
},
...
...
tests/api/robust_explain_non_path_payload-tests.json
View file @
fbc1ebf1
...
...
@@ -117,15 +117,5 @@
]
}
}
],
"variable"
:
[
{
"key"
:
"response-schema:error"
,
"value"
:
""
},
{
"key"
:
"request_body"
,
"value"
:
""
}
]
}
\ No newline at end of file
}
tests/api/robust_irrelevant@file_non_path_payload-data.json
View file @
fbc1ebf1
...
...
@@ -11,6 +11,7 @@
{
"request_body"
:
"123456789101112131415161718192021222324252627282930"
},
{
"request_body"
:
"[1,2,3]"
},
{
"request_body"
:
"{}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:
\"
no_path/
\"
}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:65}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:23.48}"
},
{
"request_body"
:
"{
\"
abs_path
\"
:[]}"
},
...
...
tests/api/robust_irrelevant@file_non_path_payload-tests.json
View file @
fbc1ebf1
...
...
@@ -118,15 +118,5 @@
]
}
}
],
"variable"
:
[
{
"key"
:
"request_body"
,
"value"
:
""
},
{
"key"
:
"response-schema:error"
,
"value"
:
""
}
]
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment