Commit Graph

107 Commits

Author SHA1 Message Date
Fabrice Reix
6f2ec988ae Add --progress option 2021-07-27 18:18:14 +02:00
Fabrice Reix
8e8d3fad09 Add summary option 2021-07-27 17:19:15 +02:00
Fabrice Reix
bde283f6c3 Fix parsing json body 2021-07-25 11:01:04 +02:00
Fabrice Reix
018cb97519 refacto CLI Options 2021-07-24 13:45:36 +02:00
Fabrice Reix
882a49a53c Fix clippy warnings (in tests) 2021-07-24 11:20:14 +02:00
Fabrice Reix
eda411ed9d Update dependencies 2021-07-24 09:42:46 +02:00
Fabrice Reix
ef4f075074 Simplify JSON/HTML report generation 2021-07-24 09:34:58 +02:00
Fabrice Reix
47ae21f6df add endsWith predicate 2021-07-16 08:18:58 +02:00
Fabrice Reix
3a25d516ab Add md5 query 2021-07-14 21:38:15 +02:00
Fabrice Reix
9ea39c7cdb Update dependencies 2021-07-14 21:07:07 +02:00
Fabrice Reix
1b30968c95 Support startsWith and contains with bytes 2021-07-07 15:44:48 +02:00
Fabrice Reix
6d4308df73 Add hex body 2021-07-04 18:49:20 +02:00
Fabrice Reix
205284591c Update dependencies 2021-07-04 08:54:59 +02:00
Fabrice Reix
47e15c6f52 Treat warnings as failures even in tests 2021-07-03 14:52:47 +02:00
Fabrice Reix
b82e925ce7 Remove Warnings in C
Annotating param with __attribute__((unused)) is not supported in windows build
2021-07-03 14:20:56 +02:00
Fabrice Reix
2fee06d379 Clean html output 2021-07-03 13:23:53 +02:00
Fabrice Reix
4fe77e284d Add predicate value base64 2021-07-02 18:51:58 +02:00
Fabrice Reix
d9630ed685 Add raw string in predicate value 2021-07-01 20:02:47 +02:00
Fabrice Reix
0dd0942435 Add PredicateValue public type 2021-06-29 18:31:05 +02:00
Fabrice Reix
e3952b8d84 Improve error message with suggestions 2021-06-28 20:02:44 +02:00
Fabrice Reix
31809edb9f Add notEquals query (!=) 2021-06-27 14:00:19 +02:00
Fabrice Reix
609868c858 Add subquery count
predicate countEquals becomes deprecated and is replaced by count ==
2021-06-27 09:20:03 +02:00
Fabrice Reix
424f8a59a0 Fix json export for less predicate 2021-06-24 20:29:19 +02:00
Fabrice Reix
559e9d9192 Improve url parsing error 2021-06-19 14:20:14 +02:00
Fabrice Reix
8844c1e60a Add operators for arithmetic predicates 2021-06-19 08:52:45 +02:00
Fabrice Reix
2b0a38846a Improve assert Error for bytearray 2021-06-17 22:20:06 +02:00
Fabrice Reix
5faea0811a Add parsing error for odd number of hex digits 2021-06-17 21:54:25 +02:00
Fabrice Reix
ead46740ab Add sha256 query 2021-06-17 20:28:13 +02:00
Fabrice Reix
93c2fede66 Add bytes query and equals predicate for bytearray 2021-06-16 21:13:17 +02:00
Fabrice Reix
e9d00d42b3 return "real" HTTP request sent from HTTP client
Log in the json session all the headers sent by the client
2021-06-15 21:26:11 +02:00
Fabrice Reix
651e823a0b Specify Host in CouldNotResolveHost Error 2021-06-12 09:21:58 +02:00
Fabrice Reix
fa46137ebe Improve error message for countEquals predicate 2021-06-11 08:37:37 +02:00
Fabrice Reix
ae83a4cb52 Improve HTML report 2021-06-10 19:54:07 +02:00
Fabrice Reix
2f18340f00 Initialise Error Handler with a native "silent" callback
The callback can not be implemented because it needs to be variadic
2021-06-03 09:14:03 +02:00
Fabrice Reix
58e11a4acc Parse httpOnly cookies from cookie storage 2021-05-25 13:43:34 +02:00
Fabrice Reix
f9f3f55baf Output curl command for each request at runtime 2021-05-23 09:44:38 +02:00
Fabrice Reix
54e5d0a35f Refacto http client
Get closer to curl cli
2021-05-16 19:12:39 +02:00
Fabrice Reix
19857abf6b Update to Rust 1.52
fix new clippy warnings:
- inconsistent_struct_constructor
- manual_map
- copied
2021-05-14 14:26:54 +02:00
Fabrice Reix
ee47df6213 Fix new clippy warnings (Rust 1.51)
- upper_case_acronyms
- redundant_slicing
- vec_init_then_push
2021-03-28 09:51:21 +02:00
Fabrice Reix
2c84f299db Fix parsing quote in quoted template 2021-03-22 14:41:10 +01:00
Fabrice Reix
1d3a8ab664 Refacto parsing with template module
TBC: Performance issue when calling reader.is_eof()
Check len() call for a large vector.
2021-03-20 11:36:46 +01:00
Fabrice Reix
7ec43282ee Update Unit tests 2021-03-20 11:34:25 +01:00
Fabrice Reix
4f6750b41b Add test connect-timeout 2021-03-08 13:22:27 +01:00
Fabrice Reix
902ce4f897 Update version to 1.3.0 2021-03-03 13:39:02 +01:00
Fabrice Reix
68be658648 Type input variables 2021-02-25 20:47:46 +01:00
Fabrice Reix
6164c13737 Fix Reading body file bytes 2021-02-24 20:22:37 +01:00
Fabrice Reix
4df5f052b4 Run cargo tests in windows ci 2021-02-23 18:53:29 +01:00
Fabrice Reix
99b811fa70 Run Tests integ in windows
Decode hurlfmt output and error stream as text
supports both UTF-8 and UTF-16, both with and with BOM

Add optional os-specific expected error file
2021-02-16 09:13:17 +01:00
Fabrice Reix
6827671944 use crate colored in order to support Windows 2021-02-15 11:45:19 +01:00
Fabrice Reix
a60f054cc0 Support wildcard in jsonpath 2021-02-15 10:52:04 +01:00