jcamiel
7d12f1890c
Fix multiline export when used as predicate value.
2023-04-17 14:13:50 +02:00
jcamiel
0b761c49ad
Remove uncessay span around : and =.
2023-04-17 13:05:34 +02:00
jcamiel
330dd3d111
Rework Hurl HTML export.
2023-04-17 10:54:21 +02:00
Filipe PINTO
d7df56da44
Add exit code 0 in manual
2023-04-16 13:15:20 +00:00
jcamiel
bd2a7f4e9a
Documents Reader and use idiomatic naming for methods.
2023-04-16 14:32:46 +02:00
jcamiel
28292ef114
Fix performance issue in Reader reamaining method.
2023-04-15 10:07:10 +02:00
hurl-bot
2e2eb08e82
Update crates
2023-04-13 16:40:34 +00:00
Fabrice Reix
798d87979c
Parse empty JSON array
2023-04-13 12:44:46 +00:00
hurl-bot
a818624ab5
Update crates
2023-04-13 03:01:56 +00:00
jcamiel
7dab729cdf
Add errors in HTML report.
2023-04-11 17:02:43 +02:00
hurl-bot
82c3b88de5
Update crates
2023-04-11 12:18:18 +00:00
Filipe PINTO
453a99071d
Use squid instead of mitmproxy on ci
2023-04-09 14:03:14 +02:00
hurl-bot
2feade5a5c
Update crates
2023-04-09 09:11:33 +00:00
jcamiel
91dd3b124d
Simplify text summary.
2023-04-07 14:00:22 +02:00
hurl-bot
2ec5b9c85a
Update crates
2023-04-05 21:16:37 +00:00
hurl-bot
4ff99f8e9e
Update crates
2023-04-03 03:03:33 +00:00
hurl-bot
bba9a5949b
Update crates
2023-03-30 08:26:20 +00:00
hurl-bot
e236765724
Update crates
2023-03-29 08:07:07 +00:00
hurl-bot
198716f6be
Update crates
2023-03-28 12:46:49 +00:00
hurl-bot
1b4d4fe5a5
Update crates
2023-03-25 08:06:24 +00:00
hurl-bot
a2655d9196
Update crates
2023-03-24 07:24:20 +00:00
jcamiel
90631dc0b1
Add meta utf-8 charset to HTML report
2023-03-23 22:44:25 +01:00
hurl-bot
2a628524ca
Update crates
2023-03-23 21:19:24 +00:00
jcamiel
01578741bd
Improve HTML export.
2023-03-23 17:43:29 +01:00
hurl-bot
bba79ef930
Update crates
2023-03-22 08:06:37 +00:00
hurl-bot
e447589264
Update crates
2023-03-21 08:07:00 +00:00
Fabrice Reix
b85bdc29e1
add daysAfterNow/DaysBeforeNow filters
2023-03-19 12:37:45 +01:00
hurl-bot
88f4173d06
Update crates
2023-03-19 08:06:32 +00:00
hurl-bot
bd66740b3f
Update crates
2023-03-18 08:06:10 +00:00
hurl-bot
2bc4aec26e
Update crates
2023-03-17 08:06:24 +00:00
hurl-bot
396f055f52
Update crates
2023-03-14 08:07:13 +00:00
jcamiel
a52c54a40b
Fix warning unsused import.
2023-03-13 11:34:23 +01:00
Rached Mejri
48447ce744
Implement isEmpty predicate
...
Signed-off-by: Rached Mejri <rached.mejri@orange.com>
2023-03-13 10:11:47 +01:00
hurl-bot
7b19b295bb
Update crates
2023-03-13 08:06:45 +00:00
Fabrice Reix
c2010b0168
Install Rust with explicit version
2023-03-12 14:56:03 +01:00
Fabrice Reix
f3bfe66863
Remove option --no-format in hurlfmt
2023-03-12 14:23:19 +01:00
hurl-bot
337dacf970
Update crates
2023-03-12 08:06:23 +00:00
Fabrice Reix
6d40373c71
Refacto options im hurlfmt
2023-03-11 08:39:21 +01:00
jcamiel
6d92211dd0
Add timings to HTTP calls.
2023-03-11 00:14:15 +01:00
jcamiel
05c54e92bc
Update cargo config file for Alpine.
2023-03-10 23:29:58 +01:00
jcamiel
d2eceb20ae
Delete -t option.
2023-03-09 10:24:48 +01:00
hurl-bot
2590ebf8cb
Update crates
2023-03-08 22:02:36 +00:00
hurl-bot
b272094eaf
Update crates
2023-03-08 09:39:58 +01:00
Fabrice Reix
f48cbf9f2b
Fix Typos
2023-03-07 15:54:56 +01:00
jcamiel
03c74fa420
Add HTTP transfer timing info.
2023-03-06 23:27:21 +01:00
hurl-bot
72172ba49a
Update crates
2023-03-06 08:06:40 +00:00
jcamiel
486b8d4d9f
Clean logger api.
2023-03-05 12:06:12 +01:00
jcamiel
16f26ae66d
Remove hurl_file from run api
...
We only use the content as input and do the parsing inside run method.
2023-03-04 20:53:10 +01:00
Fabrice Reix
591eb7087c
Add certificate query
2023-03-04 10:23:58 +01:00
jcamiel
3361aaaf24
Reorganize import.
2023-03-03 17:54:57 +01:00
jcamiel
65f85f9e53
Clean package integration tests.
2023-03-03 17:54:20 +01:00
jcamiel
2d1cbcc694
Remove public visibility of mod http.
2023-03-03 17:28:41 +01:00
jcamiel
ae4acfbec1
Move integration tests to unit tests.
2023-03-03 17:28:40 +01:00
Fabrice Reix
f04f2665ca
Normalize Certificate Subject/Issuer value
2023-03-03 16:48:56 +01:00
jcamiel
5fccfe706d
Splits eval_query function in multiple functions.
2023-03-01 18:48:13 +01:00
Fabrice Reix
689064e4c4
Normalize Certificate Serial Number
2023-02-28 16:40:14 +01:00
hurl-bot
d23f12604d
Update crates
2023-02-28 15:13:07 +00:00
hurl-bot
16df06b1d6
Update crates
2023-02-28 08:07:05 +00:00
Fabrice Reix
b6b27c9562
Add certificate in HTTP response
2023-02-27 17:02:27 +01:00
jcamiel
55cd58b50a
Increment major version to 3.0.0 (compatibility break)
2023-02-25 11:39:18 +01:00
jcamiel
704aebc6b4
Work on run api.
2023-02-25 11:31:40 +01:00
jcamiel
e5d9c1d993
Remove Lintable traits (replaced by dedicated functions).
2023-02-24 13:12:38 +01:00
jcamiel
9fb1cb7801
Add extension function on Easy for getting certinfo.
2023-02-23 11:33:30 +01:00
Ismaïl BENHALLAM
0870027b7a
resolves #1303 : Add support for -t as an alias to --test
2023-02-23 01:01:05 +01:00
jcamiel
498fca1da1
Update to curl-sys 0.4.60
2023-02-22 17:14:14 +01:00
jcamiel
5939501adb
Use an uuid as identifier for the HTML Hurl file run report
2023-02-21 16:05:44 +01:00
jcamiel
9e09223e22
Remove cli module from public modules.
2023-02-17 14:51:01 +01:00
jcamiel
af82555636
Clean ouput module interfaces.
2023-02-17 14:16:10 +01:00
jcamiel
5b8a6fb95c
Fix visibility Logger.
2023-02-17 13:40:50 +01:00
jcamiel
daa5e5ebd4
Update werkzeug from 2.0.3 to 2.2.3
...
This update solves security issue but bumps HTTP Flask version from HTTP/1.0 to HTTP/1.1.
2023-02-17 00:58:41 +01:00
jcamiel
094c40227c
Clean visibilty and public structures of html module.
2023-02-16 16:27:48 +01:00
hurl-bot
b8f55621e1
Update crates
2023-02-16 15:04:06 +00:00
hurl-bot
33c9f7d7a2
Update crates
2023-02-16 08:06:17 +00:00
jcamiel
ba3c95c02d
Fix import name for path utilities.
2023-02-15 13:50:49 +01:00
jcamiel
ec39c59d05
Fix report module visibility.
2023-02-15 13:20:15 +01:00
jcamiel
a853471c77
Add associated function to create a Header.
2023-02-14 16:08:42 +01:00
jcamiel
385f154d25
Add Default impl for http::Response
2023-02-14 14:28:45 +01:00
jcamiel
23bf376042
Add Certificate model for HTTP response.
2023-02-14 14:10:09 +01:00
jcamiel
c1afde8ed4
Fix bad renaming.
2023-02-13 21:29:34 +01:00
jcamiel
9a3bce5294
Implements Default trait for RequestSpec.
2023-02-13 18:13:54 +01:00
jcamiel
21920dd78e
Simplify execute HTTP client method.
2023-02-13 15:55:51 +01:00
jcamiel
a6fddfe13f
Clean HTTP client fields.
...
Delete `redirect_count`.
Make `handle private.
2023-02-13 14:54:49 +01:00
jcamiel
ee300eb265
Make jsonpath module private.
2023-02-13 13:33:03 +01:00
jcamiel
361fd8bd63
Add progress bar for tests.
2023-02-12 14:59:55 +01:00
jcamiel
86c7b06ea7
Fix visibility of module html.
2023-02-10 16:47:42 +01:00
jcamiel
eda167fe1f
Fix Markdown links.
2023-02-10 13:42:42 +01:00
jcamiel
d9fb8e7576
Remove dead code.
2023-02-09 22:09:38 +01:00
hurl-bot
9b4664d9a9
Update crates
2023-02-09 08:21:43 +00:00
hurl-bot
3f0f5f5f1f
Update crates
2023-02-07 08:21:23 +00:00
lepapareil
4bbcfb1337
Use long options for curl command
2023-02-06 16:35:21 +01:00
Fabrice Reix
bf96812212
Use Date for cookie Expires query
2023-02-05 19:06:19 +01:00
jcamiel
dc1a8b1b1c
Finalize cleaning main structure.
2023-02-05 12:28:44 +01:00
hurl-bot
7d85fa9a46
Update crates
2023-02-05 08:05:39 +00:00
jcamiel
3fd3b9be10
Reorganize Hurl output.
2023-02-04 11:33:21 +01:00
jcamiel
61b0389714
Delete Progress and parse Hurl file before execution.
2023-02-04 11:18:49 +01:00
jcamiel
176e83e83c
Update installation with 2.0.1 links.
2023-02-02 13:29:06 +01:00
Fabrice Reix
550c517149
Add Date value/filters
2023-02-02 13:00:40 +01:00
hurl-bot
8d470a51b6
Update hurl version to 2.1.0-SNAPSHOT
2023-02-02 09:37:39 +00:00
hurl-bot
0c737817e5
Create 2.0.1 release
2023-02-01 16:15:48 +00:00
hurl-bot
849b154e76
Update hurl version to 2.0.1-SNAPSHOT
2023-02-01 16:09:25 +00:00
jcamiel
98f5db346f
Fix GraphQL query with variables to HTTP body request
2023-01-29 19:05:00 +01:00
jcamiel
9e8ef9acb8
Fix some Hurl samples newlines.
2023-01-29 11:56:10 +01:00
hurl-bot
e8bc77737a
Update crates
2023-01-29 08:05:35 +00:00
jcamiel
05255fb722
Precise that --color does not affect HTTP response output.
2023-01-27 11:03:12 +01:00
jcamiel
3575aef1fa
Fix clippy 1.67
2023-01-26 18:14:41 +01:00
lepapareil
007d461f8e
Move from docker-hub to github-container-registry
2023-01-26 09:56:17 +01:00
hurl-bot
7b080d3cc6
Update hurl version to 2.1.0-SNAPSHOT
2023-01-25 13:52:42 +00:00
hurl-bot
e7e00c632b
Create 2.0.0 release
2023-01-25 13:03:19 +00:00
jcamiel
42ef4125fe
Update docs for Hurl 2.0.0.
2023-01-25 11:26:30 +01:00
hurl-bot
a9e7b85262
Update crates
2023-01-25 08:05:38 +00:00
hurl-bot
e49785788c
Update crates
2023-01-24 08:05:49 +00:00
Fabrice Reix
c4226aa08b
Do not add newline at eof with --no-format option
2023-01-22 18:27:48 +01:00
jcamiel
d39e975c05
Accept mutiple --variables-file options
2023-01-18 17:40:46 +01:00
Fabrice Reix
748a2084c5
Pass whether filters are applied in assert or not
2023-01-18 13:47:59 +01:00
Fabrice Reix
dd82208771
Support '-' in jsonpath dot notation
2023-01-17 20:09:44 +01:00
Fabrice Reix
f12ce3e597
Add option ssl-no-revoke
2023-01-17 13:08:22 +01:00
jcamiel
921b23017a
Add builder pattern for logger (for future evolution).
2023-01-16 10:31:31 +01:00
hurl-bot
a6d343e1c8
Update crates
2023-01-16 08:06:10 +00:00
jcamiel
79b2fcd099
Fixes various issues on HTML export.
2023-01-11 16:23:39 +01:00
Fabrice Reix
0543431490
Refacto Test integ SSL
2023-01-11 14:55:13 +01:00
jcamiel
e15deb5ca7
Add number class for nth filter argument in HTML format.
2023-01-11 10:10:08 +01:00
hurl-bot
79c624fa2e
Update crates
2023-01-10 13:40:04 +00:00
jcamiel
3917c4ac55
Update base64 0.20.0 => 0.21.0
2023-01-09 13:21:37 +01:00
Fabrice Reix
b46c82ce0f
Add nth/replace/split filters
2023-01-07 18:12:39 +01:00
hurl-bot
5b5afc4630
Update crates
2023-01-07 08:05:18 +00:00
jcamiel
e9a92fa9f5
Update copyrights for 2023.
2023-01-02 13:56:34 +01:00
Filipe PINTO
3789f8abf3
Self-signed error test less flexible
2022-12-29 11:51:47 +01:00
fpinto
89cc524d17
Revert Use openssl3 for libcurl on windows
2022-12-28 22:46:57 +01:00
fpinto
15a07fcd5d
Fix ssl tests for windows
2022-12-28 15:55:49 +01:00
fpinto
290a7564d7
Use openssl3 for libcurl on windows
2022-12-28 09:36:01 +01:00
hurl-bot
a28dd265b5
Update crates
2022-12-27 08:05:26 +00:00
hurl-bot
e3260c5068
Update crates
2022-12-23 08:05:12 +00:00
hurl-bot
ea4ad6a620
Update crates
2022-12-21 08:06:52 +00:00
hurl-bot
37da06054d
Update crates
2022-12-19 16:47:36 +00:00
jcamiel
81c4ba8b24
Add RunnerOptionsBuilder to create instance of RunnerOptions.
2022-12-17 11:45:20 +01:00
jcamiel
98d0299ff7
Update crates.
2022-12-16 23:23:43 +01:00
Fabrice Reix
0fc18e90ea
Fix Clippy warnings 1.66.0
2022-12-16 10:44:17 +01:00
hurl-bot
b53e934296
Update crates
2022-12-15 08:06:52 +00:00
jcamiel
c2f0fe46ba
Implement html_escape and html_unescape.
...
This PR removes import of html-escape crate.
2022-12-14 13:10:43 +01:00
jcamiel
93ad62d40c
Remove unnessary empty struct.
2022-12-12 13:20:19 +01:00
hurl-bot
0160a6fcdf
Update crates
2022-12-12 08:07:17 +00:00
jcamiel
aa2f1d5b4d
Add connect-to option
2022-12-10 23:55:14 +01:00
Fabrice Reix
48188205c4
Update crate base64
2022-12-10 23:01:41 +01:00
Fabrice Reix
bb7cf25a57
Fix key-string parser
2022-12-10 22:52:54 +01:00
jcamiel
6b7753e174
Check HTTP version and status first, then other asserts.
...
If HTTP version or status are not correct, we fail the test without running others asserts.
2022-12-10 14:44:23 +01:00
jcamiel
aefbd79027
Update README with installation instruction for .deb
2022-12-09 23:41:25 +01:00
jcamiel
1dbdd99f34
Add name attribute to JUnit report
2022-12-09 16:49:58 +01:00
jcamiel
ec30da5b05
Normalize curl command line debug with the url at the end.
2022-12-09 15:10:35 +01:00
jcamiel
38c47501ab
Add --resolve options
2022-12-09 10:17:07 +01:00
jcamiel
00006eab74
Support new one line string format.
2022-12-08 13:15:32 +01:00
jcamiel
5532d1155a
Display warning when legacy syntax for one line string is used.
2022-12-08 13:13:16 +01:00
Luke Mondy
e6028f390a
Add support for htmlEscape and htmlUnescape in hurlfmt
2022-12-07 08:17:28 +11:00
Luke Mondy
db486f9695
Add htmlEscape and htmlUnescape filters
...
These filters use the html_escape crate (inspired by the use of the percent_encoding crate) to escape and unescape html.
2022-12-07 08:17:21 +11:00
jcamiel
2841a9459b
Change struct Bytes with tupple instead of anonymous struct.
2022-12-06 14:56:01 +01:00
jcamiel
0ab9fedafa
Change Template struct using delimiter: Option<char> field instead of quotes: bool.
2022-12-05 13:12:28 +01:00
hurl-bot
ae0c0ee6ab
Update crates
2022-12-05 08:23:32 +00:00
jcamiel
bc32e4e84d
Fix error message case.
2022-12-04 18:27:42 +01:00
jcamiel
d924d88b42
Update all installation docs.
2022-12-03 23:28:05 +01:00
Fabrice Reix
ffd31a271c
Add toInt filter
2022-12-03 12:16:24 +01:00
jcamiel
51b196ea88
Update variables hash while iterating and evaluating the capture section (instead of updating it once with all the variables).
2022-12-01 15:32:11 +01:00
Fabrice Reix
3eaa74ce11
Fix Parsing / compliant with grammar
2022-12-01 14:50:55 +01:00
jcamiel
44f43bcf73
Add support for LINK, UNLINK, PURGE, LOCK, UNLOCK, PROPFIND and VIEW HTTP method
2022-11-30 18:28:11 +01:00
jcamiel
589c4c20c3
Update 1.9.0-SNAPSHOT to 2.0.0 due to major breaking change.
2022-11-29 15:51:29 +01:00
hurl-bot
3f2397e6eb
Update crates
2022-11-29 13:07:15 +00:00
hurl-bot
4582c5a4fc
Update crates
2022-11-29 08:24:13 +00:00
Tim Bart
04ebc958c6
This PR adds support for configuring the client cert and private key for establishing a mutual TLS connection to a server.
...
Example:
```
GET https://localhost:8443/
[Options]
cacert: out/HurlCA.crt
cert: out/client.crt
key: out/client.key
HTTP 200
```
outputs:
```
Request can be run with the following curl command:
* curl 'https://localhost:8443/ ' --cacert out/HurlCA.crt --cert out/client.crt --key out/client.key
```
2022-11-28 20:33:05 -08:00
hurl-bot
de89ed043e
Update crates
2022-11-28 08:24:38 +00:00
jcamiel
ed3217c41f
Add support for GraphQL variables.
2022-11-25 11:34:03 +01:00
jcamiel
c15eecec88
Change "type": "multiline-string" for "type": "text" in JSON export.
2022-11-25 10:15:31 +01:00
hurl-bot
841f29a550
Update crates
2022-11-24 22:11:38 +00:00
jcamiel
0aa0568c91
Add application/json Content-Type header for GraphQL queries.
2022-11-24 16:14:44 +01:00
jcamiel
2242c8ba0d
Rename TextOneLine to OneLineText.
2022-11-24 15:10:13 +01:00
jcamiel
a0f7d3e278
Use real type Value instead of public alias JsonValue in implementation.
2022-11-24 13:37:05 +01:00
jcamiel
65350a71bb
Add GraphQL simple query support.
...
We add GraphQL query support. For the moment, variables are not supported.
2022-11-23 14:52:34 +01:00
hurl-bot
351fe21a93
Update crates
2022-11-22 07:10:46 +00:00
hurl-bot
e323006d1f
Update crates
2022-11-21 08:26:05 +00:00
jcamiel
5c7d2ea3ec
Remove HTML ast for HTML report generation.
2022-11-19 01:07:19 +01:00
jcamiel
80fb0fd5b3
Delete raw string wording everywhere.
2022-11-18 15:30:56 +01:00
hurl-bot
23e66e0158
Update crates
2022-11-18 08:24:51 +00:00
jcamiel
3b3483a997
Add lang identifier to multiline.
2022-11-18 00:20:53 +01:00
hurl-bot
f3bf0b7618
Update crates
2022-11-17 22:55:05 +00:00
hurl-bot
c599f4765f
Update crates
2022-11-17 08:26:47 +00:00
hurl-bot
af8d29131a
Update crates
2022-11-16 09:14:56 +00:00
jcamiel
a34480120e
Change choice parser function signature to take a slice as argument.
...
With a slice as argument, we can use a vec or an array. In Hurl code, we use choice with array only.
We also change the implementation to remove the recursive call (and unncessary clone)
2022-11-15 14:03:13 +01:00
hurl-bot
b4c4d0ff77
Update crates
2022-11-15 08:27:12 +00:00
GitHub Action
ef454b59ff
Update crates
2022-11-12 08:25:30 +00:00
GitHub Action
d3759a1c18
Update crates
2022-11-11 23:20:29 +00:00
jcamiel
4e41799623
Use HTTP instead of HTTP/* for any HTTP version match
2022-11-10 22:29:21 +01:00
GitHub Action
3c1c3a9b4d
Update crates
2022-11-09 08:28:18 +00:00
GitHub Action
aa318c3e55
Update crates
2022-11-07 18:31:01 +00:00
GitHub Action
e455ebd685
Update hurl version to 1.9.0-SNAPSHOT
2022-11-07 13:11:48 +00:00
GitHub Action
1930fcf62b
Create 1.8.0 release
2022-11-07 12:39:14 +00:00
jcamiel
403db2e131
Change raw string body for multiline string body.
2022-11-05 19:21:45 +01:00
GitHub Action
802391d7ee
Update crates
2022-11-05 18:04:45 +00:00
jcamiel
b38d108eb2
Fix hurlfmt --color crash.
2022-11-05 01:17:23 +01:00
GitHub Action
3d475c7c88
Update crates
2022-11-04 17:52:42 +00:00
Fabrice Reix
d1713c8865
Fix clippy warnings (Rust 1.65.0)
2022-11-03 16:58:42 +01:00
Fabrice Reix
67d48bde22
Add filters urlEncode/urlDecode
2022-11-02 17:07:00 +01:00
Fabrice Reix
2653401819
Fix missing line in HTML output
2022-11-01 19:02:00 +01:00
jcamiel
f25c6b9129
Delete subquery dead code.
2022-10-31 11:04:49 +01:00