-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathunit-test-with-spring.http
More file actions
44 lines (38 loc) · 1.02 KB
/
Copy pathunit-test-with-spring.http
File metadata and controls
44 lines (38 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
POST http://localhost:8080/http/anything
Accept: application/json
Content-Type: application/json
{
"requestId": "123",
"content": "555555"
}
> {%
client.test("Request executed successfully", function() {
client.assert(response.status === 200, "Response status is not 200");
client.assert(response.body.data === "Success")
});
%}
<> 2022-06-04T194442.200.json
###
POST http://localhost:8080/http/anythingWithCallingService
Accept: application/json
Content-Type: application/json
{
"requestId": "123",
"content": "555555"
}
> {%
client.test("Request executed successfully", function() {
client.assert(response.status === 200, "Response status is not 200");
});
%}
<> 2022-06-04T194443.200.json
<> 2022-06-04T194319.200.json
<> 2022-06-04T194208.200.json
<> 2022-06-04T194120.200.json
<> 2022-06-04T194055.200.json
<> 2022-06-04T193811.200.json
<> 2022-06-04T193745.200.json
<> 2022-06-04T193356.500.json
<> 2022-06-04T193309.500.json
<> 2022-06-04T193140.200.json
<> 2022-06-04T192940.200.json