Commit Graph

445 Commits

Author SHA1 Message Date
Fabrice Reix
541f6e7a90
Update integ test hurlfmt for options 2023-12-08 15:05:59 +00:00
jcamiel
a7807cfe21
Better unicode parsing error description. 2023-12-08 15:31:09 +01:00
jcamiel
95528ba5b9
Better option error description. 2023-12-08 14:58:17 +01:00
jcamiel
0c92430520
Better hexadecimal digit parsing error description. 2023-12-08 14:34:29 +01:00
jcamiel
bdf0d05dcf
Better multi-part form data file content-type parsing error description. 2023-12-08 14:34:28 +01:00
jcamiel
e7e7faf4c7
Better XML parsing error description. 2023-12-08 14:34:28 +01:00
jcamiel
03dcb5361e
Fix unicode surrogate pair decoding in JSON request body 2023-12-08 11:43:41 +01:00
Fabrice Reix
4a94c882af
Increase coverage for hurlfmt JSON/HTML output 2023-12-07 12:41:58 +00:00
Fabrice Reix
54994dba37
Move Hurl file check to check workflow 2023-12-05 15:55:04 +00:00
Fabrice Reix
947603af12
Add non-renderable variables 2023-12-05 09:34:02 +01:00
Fabrice Reix
a97df632bc
Split integ tests between hurl and hurlfmt 2023-12-03 11:57:30 +01:00
jcamiel
9c7e793ba1
Some refacto on output managment 2023-12-02 13:26:35 +01:00
jcamiel
f2c5198ff2
Add integration test for --output per request option. 2023-11-30 18:00:08 +01:00
Fabrice Reix
774650e409
Add Test integ for big numbers 2023-11-30 11:02:50 +01:00
Fabrice Reix
a4df7f79a0
Add jsonpath Test 2023-11-26 11:28:36 +01:00
Fabrice Reix
11d8af6957
Use Number comparison to eval predicates 2023-11-15 17:04:37 +01:00
jcamiel
0b86a70d43
Fix undefined error for various I/O error using --output. 2023-11-14 16:03:05 +01:00
Fabrice Reix
b62a09f887
Fix xpath filter in JSON output 2023-11-08 15:18:57 +01:00
Fabrice Reix
74edc18bd2
Add jsonpath filter 2023-11-08 15:18:52 +01:00
jcamiel
db6932641c
Improve assert_header integration test with multiple HTTP response headers for the same name. 2023-11-07 13:27:43 +01:00
Fabrice Reix
d2a220fb05
Generating Clap commands source file 2023-11-06 11:14:24 +01:00
robozati
97a02f3990
Update the JSON parser to account for fabricereix changes 2023-11-02 08:59:45 +00:00
robozati
678aaca9f3
Improve JSON body parsing error reporting
Adds more checks to account for empty elements, commas after the last
element that shouldn't be there and braces not closed.
2023-11-02 08:59:43 +00:00
jcamiel
c72f04fa0e
Remove xmltree/indexmap dependency.
Due to xmltree re-exposing an older version of indexmap, we couldnt' upgrade to the latest version of indemap.
xmltree is a tree in-memory representation of an XML document that we use for JUnit export. As xmltree is a thin layer above xml-rs, we re-implement a thin tree in-memory XML document using xml-rs directly and remove xmltree/indexmap dependency.
2023-11-01 20:23:49 +01:00
jcamiel
9612100f39
Update Python dependencies. 2023-10-27 16:20:33 +02:00
jcamiel
0757d5e7aa
Add failed test in HTML/JUnit/TAP reports 2023-10-27 14:43:13 +02:00
jcamiel
1f7f897451
Update header integration test 2023-10-21 17:45:42 +02:00
Fabrice Reix
a8d6ac6d4b
Ignore warning messages on more platforms 2023-10-21 11:04:02 +02:00
Fabrice Reix
ada42acb32
Add option skip 2023-10-21 11:04:01 +02:00
Filipe PINTO
5fb9b3a54f
Support http2 on windows 2023-10-20 17:46:46 +02:00
Fabrice Reix
58b249ffa1
Support template in option values 2023-10-19 14:42:50 +00:00
jcamiel
662c550eb8
Add --ipv4/--ipv6 option 2023-10-18 14:37:42 +00:00
jcamiel
ab16f587e6
Add optional arguments host and port for integration server (default is 127.0.0.1:8000). 2023-10-18 13:39:41 +02:00
jcamiel
61fd37b2ae
Add error message for unsupported HTTP version. 2023-10-14 23:33:35 +02:00
jcamiel
46e3bf2cfb
Use exit code 255 to signal skipped integration test. 2023-10-13 00:03:16 +02:00
jcamiel
9d5b611b9e
Adapt test excepted stderr to take libcurl multipart boundary size change in 8.4.0+.
See https://github.com/curl/curl/pull/11838/files where `define MIME_RAND_BOUNDARY_CHARS` has been changed from 16 to 22.
The new pattern on 'Content-Lenght' works for previsous and newer libcurl version.
2023-10-12 23:23:11 +02:00
jcamiel
4363aa9875
Force refreshing libcurl connections if HTTP version requested change 2023-10-11 09:13:44 +02:00
Fabrice Reix
ecc1c1fc8b
Ignore libcurl library warning in the check itself 2023-10-10 14:07:38 +00:00
Fabrice Reix
b20813bc29
Generate test report in build/ 2023-10-10 14:07:37 +00:00
jcamiel
bbe36595e5
Add integration test for hurl --help. 2023-10-09 21:06:11 +02:00
jcamiel
4ae0465839
Add integration test for hurl --help. 2023-10-09 18:13:03 +02:00
jcamiel
1986c0ca13
Add --http3 option. 2023-10-08 17:25:00 +02:00
jcamiel
473084aeb7
Add integration test for --http2 option. 2023-10-08 14:38:36 +00:00
Niklas Mollenhauer
d6d14cfec7
Fix report version marker 2023-10-07 08:57:17 +00:00
Fabrice Reix
bbf7757cad
Update HTML class for captures/cookies 2023-10-06 10:18:52 +02:00
Fabrice Reix
aeca943cf7
Support template in keys 2023-10-06 10:18:52 +02:00
jcamiel
9623b76409
Add http1.1 per request option. 2023-10-04 14:42:47 +02:00
jcamiel
411f0ed8f5
Add --http1.1 option 2023-10-03 13:41:58 +02:00
jcamiel
17ec6c8b1a
Add --http1.0 per request option. 2023-10-03 12:58:11 +02:00
jcamiel
2438905850
Add --http1.0 option 2023-10-03 09:33:35 +00:00