-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocs.yml
More file actions
392 lines (392 loc) · 12.2 KB
/
docs.yml
File metadata and controls
392 lines (392 loc) · 12.2 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
- title: Getting Started
items:
- title: Installation
path: /docs/installation.html
items:
- title: Binaries Installation
items:
- title: Linux
items:
- title: Debian / Ubuntu
- title: Alpine
- title: Arch Linux / Manjaro
- title: NixOS / Nix
- title: macOS
items:
- title: Homebrew
- title: MacPorts
- title: FreeBSD
- title: Windows
items:
- title: Zip File
- title: Installer
- title: Chocolatey
- title: Scoop
- title: Windows Package Manager
- title: Cargo
- title: conda-forge
- title: Docker
- title: npm
- title: Building From Sources
items:
- title: Build on Linux
items:
- title: Debian based distributions
- title: Fedora based distributions
- title: Red Hat based distributions
- title: Arch based distributions
- title: Alpine based distributions
- title: Build on macOS
- title: Build on Windows
- title: Manual
path: /docs/manual.html
items:
- title: Name
- title: Synopsis
- title: Description
- title: Hurl File Format
items:
- title: Capturing values
- title: Asserts
- title: Options
- title: Environment
- title: Exit Codes
- title: WWW
- title: See Also
- title: Samples
path: /docs/samples.html
items:
- title: Getting Data
items:
- title: HTTP Headers
- title: Query Params
- title: Basic Authentication
- title: Sending Data
items:
- title: Sending HTML Form Data
- title: Sending Multipart Form Data
- title: Posting a JSON Body
- title: Templating a JSON Body
- title: Templating a XML Body
- title: Using GraphQL Query
- title: Using Dynamic Datas
- title: Testing Response
items:
- title: Testing Response Headers
- title: Testing REST APIs
- title: Testing HTML Response
- title: Testing Set-Cookie Attributes
- title: Testing Bytes Content
- title: SSL Certificate
- title: Checking Full Body
- title: Testing Redirections
- title: Debug Tips
items:
- title: Verbose Mode
- title: Error Format
- title: Output Response Body
- title: Export curl Commands
- title: Using Proxy
- title: Reports
items:
- title: HTML Report
- title: JSON Report
- title: JUnit Report
- title: TAP Report
- title: JSON Output
- title: Others
items:
- title: HTTP Version
- title: IP Address
- title: Polling and Retry
- title: Delaying Requests
- title: Skipping Requests
- title: Testing Endpoint Performance
- title: Using SOAP APIs
- title: Capturing and Using a CSRF Token
- title: Redacting Secrets
- title: Checking Byte Order Mark (BOM) in Response Body
- title: AWS Signature Version 4 Requests
- title: Using curl Options
- title: Running Tests
path: /docs/running-tests.html
items:
- title: Use --test Option
items:
- title: Selecting Tests
- title: Debugging
items:
- title: Debug Logs
- title: HTTP Responses
- title: Generating Report
items:
- title: HTML Report
- title: JSON Report
- title: JUnit Report
- title: TAP Report
- title: Use Variables in Tests
- title: Frequently Asked Questions
path: /docs/frequently-asked-questions.html
items:
- title: General
items:
- title: Why "Hurl" ?
- title: Yet Another Tool, I already use X
- title: Hurl is build on top of libcurl, but what is added?
- title: Why shouldn't I use Hurl?
- title: I have a large numbers of tests, how to run just specific tests?
- title: How can I use my Hurl files outside Hurl?
- title: Can I do calculation within a Hurl file?
- title: macOS
items:
- title: How can I use a custom libcurl (from Homebrew by instance)?
- title: File Format
items:
- title: Hurl File
path: /docs/hurl-file.html
items:
- title: Character Encoding
- title: File Extension
- title: Comments
- title: Special Characters in Strings
- title: Entry
path: /docs/entry.html
items:
- title: Definition
- title: Example
- title: Description
items:
- title: Options
- title: Cookie storage
- title: Redirects
- title: Retry
- title: Control flow
- title: Request
path: /docs/request.html
items:
- title: Definition
- title: Example
- title: Structure
- title: Description
items:
- title: Method
- title: URL
- title: Headers
- title: Options
- title: Query parameters
- title: Form parameters
- title: Multipart Form Data
- title: Cookies
- title: Basic Authentication
- title: Body
items:
- title: JSON body
- title: XML body
- title: GraphQL query
- title: Multiline string body
- title: Oneline string body
- title: Base64 body
- title: Hex body
- title: File body
- title: Response
path: /docs/response.html
items:
- title: Definition
- title: Example
- title: Structure
- title: Capture and Assertion
items:
- title: Body compression
- title: Timings
- title: Capturing Response
path: /docs/capturing-response.html
items:
- title: Captures
items:
- title: Query
- title: Status capture
- title: Version capture
- title: Header capture
- title: Cookie capture
- title: Body capture
- title: Bytes capture
- title: XPath capture
- title: JSONPath capture
- title: Regex capture
- title: SHA-256 capture
- title: MD5 capture
- title: URL capture
- title: Redirects capture
- title: IP address capture
- title: Variable capture
- title: Duration capture
- title: SSL certificate capture
- title: Redacting Secrets
- title: Asserting Response
path: /docs/asserting-response.html
items:
- title: Asserts
items:
- title: Structure
- title: Implicit asserts
items:
- title: Version - Status
- title: Headers
- title: Body
items:
- title: JSON body
- title: XML body
- title: Multiline string body
- title: Oneline string body
- title: Base64 body
- title: File body
- title: Explicit asserts
items:
- title: Predicates
- title: Status assert
- title: Version assert
- title: Header assert
- title: Cookie assert
- title: Body assert
- title: Bytes assert
- title: XPath assert
- title: JSONPath assert
- title: Regex assert
- title: SHA-256 assert
- title: MD5 assert
- title: URL assert
- title: URL redirect
- title: IP address assert
- title: Variable assert
- title: Duration assert
- title: SSL certificate assert
- title: Filters
path: /docs/filters.html
items:
- title: Definition
- title: Example
- title: Description
items:
- title: base64Decode
- title: base64Encode
- title: base64UrlSafeDecode
- title: base64UrlSafeEncode
- title: count
- title: daysAfterNow
- title: daysBeforeNow
- title: decode
- title: first
- title: format
- title: htmlEscape
- title: htmlUnescape
- title: jsonpath
- title: last
- title: location
- title: nth
- title: regex
- title: replace
- title: replaceRegex
- title: split
- title: toDate
- title: toFloat
- title: toInt
- title: toString
- title: urlDecode
- title: urlEncode
- title: urlQueryParam
- title: xpath
- title: Templates
path: /docs/templates.html
items:
- title: Variables
- title: Functions
- title: Types
- title: Injecting Variables
items:
- title: variable option
- title: variables-file option
- title: Environment variable
- title: Options sections
- title: Secrets
- title: Templating Body
- title: Grammar
path: /docs/grammar.html
items:
- title: Definitions
- title: Syntax Grammar
items:
- title: General
- title: Sections
- title: Query
- title: Predicates
- title: Bytes
- title: Strings
- title: JSON
- title: Template / Expression
- title: Filter
- title: Lexical Grammar
- title: Tutorial
items:
- title: Your First Hurl File
path: /docs/tutorial/your-first-hurl-file.html
items:
- title: Prerequisites
- title: A Basic Test
- title: Recap
- title: Adding Asserts
path: /docs/tutorial/adding-asserts.html
items:
- title: HTML Body Test
- title: HTTP Headers Test
- title: Performance Test
- title: Recap
- title: Chaining Requests
path: /docs/tutorial/chaining-requests.html
items:
- title: Adding Another Request
- title: Test REST Api
- title: Recap
- title: Debug Tips
path: /docs/tutorial/debug-tips.html
items:
- title: Verbose Mode
items:
- title: Using --verbose and --very-verbose for all entries
- title: Debugging a specific entry
- title: Use Error Format
- title: Get Response Body
- title: Include Headers Like curl
- title: Export curl Commands
- title: Using a Proxy
- title: Captures
path: /docs/tutorial/captures.html
items:
- title: Capturing a CSRF Token
- title: Follow Redirections
- title: Recap
- title: Security
path: /docs/tutorial/security.html
items:
- title: Server Side Validation
items:
- title: Valid user creation
- title: Invalid user creation
- title: Comments
- title: Recap
- title: CI/CD Integration
path: /docs/tutorial/ci-cd-integration.html
items:
- title: Templating Tests
- title: Integration Script
- title: Running Tests with GitHub Action
- title: Running Tests with GitLab CI/CD
- title: Tests Report
- title: Recap
- title: Resources
items:
- title: License
path: /docs/license.html
- title: Blog
path: /blog/
- title: GitHub
url: https://github.com/Orange-OpenSource/hurl