Skip to content

Commit 770d584

Browse files
neilcampbellRonald Holshausen
authored andcommitted
Adding request and response plain text body test cases
1 parent 613b7bd commit 770d584

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"match": false,
3+
"comment": "Plain text that does not match",
4+
"expected" : {
5+
"method": "POST",
6+
"path": "/",
7+
"query": "",
8+
"headers": {},
9+
"body": "alligator named mary"
10+
},
11+
"actual": {
12+
"method": "POST",
13+
"path": "/",
14+
"query": "",
15+
"headers": {},
16+
"body": "alligator named fred"
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"match": true,
3+
"comment": "Plain text that matches",
4+
"expected" : {
5+
"method": "POST",
6+
"path": "/",
7+
"query": "",
8+
"headers": {},
9+
"body": "alligator named mary"
10+
},
11+
"actual": {
12+
"method": "POST",
13+
"path": "/",
14+
"query": "",
15+
"headers": {},
16+
"body": "alligator named mary"
17+
}
18+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"match": false,
3+
"comment": "Plain text that does not match",
4+
"expected" : {
5+
"headers": {},
6+
"body": "alligator named mary"
7+
},
8+
"actual": {
9+
"headers": {},
10+
"body": "alligator named fred"
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"match": true,
3+
"comment": "Plain text that matches",
4+
"expected" : {
5+
"headers": {},
6+
"body": "alligator named mary"
7+
},
8+
"actual": {
9+
"headers": {},
10+
"body": "alligator named mary"
11+
}
12+
}

0 commit comments

Comments
 (0)