-
Notifications
You must be signed in to change notification settings - Fork 5
/
syntax.yml
126 lines (114 loc) · 3.57 KB
/
syntax.yml
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#########################################
# Testsuite-nocoding - YAML Cheatsheet
#########################################
- Action :
Name : Cheataction #mandatory but can be defaulted
Request : #mandatory if the Url isn't defaulted
Url : http://www.xceptance.com #mandatory but can be defaulted
Method : POST #HTTPMETHOD, default = GET
Xhr : false #Boolean, default = false
Encode-Parameters : false #Boolean, default = true
Parameters : #optional
- parameter_1 : value_1
- parameter 2 : value_2
Headers : #optional
- header_1 : value_1
- header_2 : value_2
- header_3 : value_3
Body : some body #optional
Encode-Body : #Boolean, default = true
Response : #optional
Httpcode : #Integer, default = 200
Validate : # Optional
- validation_name_0 :
XPath : value
- validation_name_1 :
XPath : value
Matches : value
- validation_name_2:
XPath : value
Count : value
- validation_name_3 :
Regex : value
- validation_name_4 :
Regex : value
Text : value
- validation_name_5 :
Regex : value
Text : value
Group : value
- validation_name_6 :
Header : value
- validation_name_7 :
Header : value
Text : value
- validation_name_8 :
Header : value
Count : value
- validation_name_9 :
Cookie : value
- validation_name_10 :
Cookie : value
Matches : value
# and more...
Store : #Optional
- variable_1 :
XPath : path
- variable_2 :
Regex : path
Group : 1 # Optional to capture a group from regex
- variable_3 :
Header : header
- variable_4 :
Header : header
Regex : path
Group : 1 # Optional to capture a group from regex
- variable_5 :
Cookie : cookie
- variable_6 :
Cookie : cookie
Regex : path
Group : 1 # Optional to capture a group from regex
Subrequests :
- Xhr :
Name : Xhr subrequest
Request:
Url: http://www.xceptance.com
- Static :
- https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400
- https://www.xceptance.com/js/jquery-1.11.1.min.js
- https://www.xceptance.com/images/xceptance-logo-transparent-202px.png
# Variable Pool for dynamic data processing
- Store :
- variable_1 : value_1
- variable_2 : value_2
# Empty entire pool of stored data
- Store : Delete
# Define new default values:
- Name : name
- Httpcode : 400
- Url : https://www.xceptance.com
- Method : POST
- Xhr : false
- Encode-Parameters: true
- Encode-Body : true
- Headers :
- header_1 : value
- header_2 : value
- header_3 : value
- Parameters :
- p_1 : v_1
- p_2 : v_2
- Cookies :
- name_1 : value_1; domain=*.xceptance.com # domain is required
- Static :
- https://www.xceptance.com
- https://www.xceptance.com
# Delete default values
- Cookies : Delete
- Headers : Delete
- Httpcode : Delete
- Url : Delete
- Method : Delete
- Xhr : Delete
- Parameters : Delete