forked from jenkinsci/stoplightio-report-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprism_console.log
99 lines (86 loc) · 4.61 KB
/
prism_console.log
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[Conductor] Stoplight API Host is https://api-next.stoplight.io
Setup Scenario (0.002s)
, GET (0.002s)
after.info ⁃ 97
Check Server Scenario (0.011s)
Check, GET http://localhost:8080/v2/check (0.011s)
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Test Categories Scenario (0.052s)
List categories, GET http://localhost:8080/v2/categories (0.011s)
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Create category, POST http://localhost:8080/v2/categories (0.009s)
✓ output.status (eq) 201
✓ output.body (validate.contract) against JSON Schema
Get category, GET http://localhost:8080/v2/categories/9 (0.009s)
✓ output.body.label (eq) Adventure
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Update category, PUT http://localhost:8080/v2/categories/9 (0.008s)
✓ output.body.label (eq) Horror
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Delete category, DELETE http://localhost:8080/v2/categories/9 (0.006s)
✓ output.status (eq) 204
✓ output.body (validate.contract) against JSON Schema
Get category, GET http://localhost:8080/v2/categories/9 (0.008s)
✓ output.status (eq) 404
✓ output.body (validate.contract) against JSON Schema
Test Books Scenario (0.056s)
List books, GET http://localhost:8080/v2/books (0.011s)
✓ output.time (lt) 2000
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Create book, POST http://localhost:8080/v2/books (0.007s)
✓ output.status (eq) 201
✓ output.body (validate.contract) against JSON Schema
Get book, GET http://localhost:8080/v2/books/9 (0.007s)
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Update book, PUT http://localhost:8080/v2/books/9 (0.011s)
✓ output.body.finished (eq) true
✓ output.status (eq) 200
✓ output.body (validate.contract) against JSON Schema
Search book, GET http://localhost:8080/v2/books?search=tarte (0.006s)
✓ output.body (validate.contract) against JSON Schema
Delete book, DELETE http://localhost:8080/v2/books/9 (0.006s)
✓ output.status (eq) 204
✓ output.body (validate.contract) against JSON Schema
Get book, GET http://localhost:8080/v2/books/9 (0.008s)
✓ output.status (eq) 404
✓ output.body.status (eq) NOT_FOUND
✓ output.body (validate.contract) against JSON Schema
Test Category Errors Scenario (0.064s)
Get category, GET http://localhost:8080/v2/categories/5642547 (0.011s)
✓ output.status (eq) 404
✓ output.body.status (eq) NOT_FOUND
✓ output.body (validate.contract) against JSON Schema
Update category, PUT http://localhost:8080/v2/categories/5642547 (0.006s)
✓ output.status (eq) 404
✓ output.body (validate.contract) against JSON Schema
Update category, PUT http://localhost:8080/v2/categories/5642547 (0.008s)
✓ output.status (eq) 400
✓ output.body.status (eq) BAD_REQUEST
✓ output.body (validate.contract) against JSON Schema
Update category, PUT http://localhost:8080/v2/categories/2 (0.009s)
✓ output.status (eq) 403
✓ output.body.status (eq) FORBIDDEN
✓ output.body (validate.contract) against JSON Schema
Delete category, DELETE http://localhost:8080/v2/categories/684321 (0.007s)
✓ output.status (eq) 404
✓ output.body (validate.contract) against JSON Schema
Delete category, DELETE http://localhost:8080/v2/categories/2 (0.009s)
✓ output.status (eq) 403
✓ output.body (validate.contract) against JSON Schema
Create category, POST http://localhost:8080/v2/categories (0.007s)
✓ output.status (eq) 400
✓ output.body.status (eq) BAD_REQUEST
✓ output.body (validate.contract) against JSON Schema
Create category, POST http://localhost:8080/v2/categories (0.007s)
✓ output.status (eq) 409
✓ output.body.status (eq) CONFLICT
✓ output.body (validate.contract) against JSON Schema
before.info ⁃ Before : Test de trace en log
after.error ⁃ Test de trace en erreur
✓ 53 tests passed