Commit Graph

1328 Commits

Author SHA1 Message Date
Fabrice Reix
9054a3434e
Include line number prefix in DisplaySourceError message 2024-06-21 12:53:12 +00:00
Jean-Christophe Amiel
57f465e3b1
Use StyledString in response_debug.rs 2024-06-21 14:19:06 +02:00
Jean-Christophe Amiel
34840a55dd
Use StyledString in base logger. 2024-06-21 11:16:40 +02:00
Jean-Christophe Amiel
a3d25d447d
Fix parallel output using per request standard output. 2024-06-20 12:00:28 +00:00
Jean-Christophe Amiel
c2f4514a24
Add repeat option per request 2024-06-19 22:22:00 +02:00
Jean-Christophe Amiel
dc6be76339
Move Repeat to core types. 2024-06-19 16:48:19 +02:00
Jean-Christophe Amiel
bde10d3102
Move Retry to core types. 2024-06-19 16:28:39 +02:00
Fabrice Reix
05fd81f8c3
Fix Clippy warnings 2024-06-19 11:01:03 +02:00
Fabrice Reix
0ddb0a9c1b
Update to Rust 1.79 2024-06-19 11:01:03 +02:00
hurl-bot
023f2ba76f
Update crates 2024-06-19 03:01:59 +00:00
Jean-Christophe Amiel
90bb395bae
Apply delay only once per entry, no matter how many retry. 2024-06-18 17:38:13 +02:00
Jean-Christophe Amiel
438fbf721a
Update docs for --delay. 2024-06-18 16:53:56 +02:00
Fabrice Reix
e67ffc0f88
Move message function to DisplaySourceError trait 2024-06-18 13:55:11 +00:00
baerwang
2ddea77f66
fix: date add equal and not equal 2024-06-17 06:05:02 +00:00
Fabrice Reix
33a8b67a9d
Update Diff API with hunks 2024-06-15 23:03:36 +02:00
Jean-Christophe Amiel
aceb5fc61e
Accept directory as Hurl arguments for processing file 2024-06-14 13:43:06 +02:00
Jean-Christophe Amiel
d51c275fc6
Fix Rust 1.79 warnings. 2024-06-14 10:21:36 +02:00
hurl-bot
2fb29f3633
Update crates 2024-06-13 03:02:09 +00:00
Jean-Christophe Amiel
1d6bec4c51
Expose request comments in --out json. 2024-06-12 17:02:54 +02:00
Jean-Christophe Amiel
8a67d77912
Truncate file then append it when dumping response with --output. 2024-06-12 15:24:55 +02:00
hurl-bot
d915b754e3
Update crates 2024-06-12 12:32:30 +00:00
baerwang
3d98c7caa6
fix: crash expires cookie attributes 2024-06-12 04:35:38 +00:00
Jean-Christophe Amiel
46482d3511
Small code refacto on ResponseCookie. 2024-06-11 16:16:10 +02:00
Jean-Christophe Amiel
123fd981c9
Remove too specific variant StatuslineIsMissing in favor of CouldNotParseResponse. 2024-06-11 13:23:25 +00:00
hurl-bot
fdb36cedde
Update crates 2024-06-11 03:01:58 +00:00
Jean-Christophe Amiel
54f3bf5b1a
Implement repeat for sequential runner. 2024-06-10 21:24:43 +02:00
Jean-Christophe Amiel
16f902a7e1
Delete test mode in sequential runner.
In test mode, the parallel runner is now always use, even if tests are run one-by-one (--jobs=1). The sequential runner don't need to report test progress.
2024-06-10 15:35:05 +02:00
Jean-Christophe Amiel
330d6041e5
Implement repeat option on parallel runner. 2024-06-10 10:12:09 +02:00
Jean-Christophe Amiel
fe7cba7003
Add --repeat option. 2024-06-10 10:12:08 +02:00
hurl-bot
1ffd708e5b
Update crates 2024-06-10 03:01:49 +00:00
Jean-Christophe Amiel
ce856f92c9
Update docs with --parallel option. 2024-06-09 21:10:30 +02:00
Jean-Christophe Amiel
655e87b093
Use an iterator instead of a reversed vec for the job queue. 2024-06-08 16:53:15 +02:00
hurl-bot
ae39f603b2
Update crates 2024-06-08 03:01:38 +00:00
Jean-Christophe Amiel
fa08c11bf2
Add requests rate to test summary. 2024-06-07 16:24:37 +02:00
Jean-Christophe Amiel
d0ce2a8573
Move summary module in cli. 2024-06-07 14:49:21 +02:00
hurl-bot
48847abeaa
Update crates 2024-06-07 03:02:05 +00:00
Jean-Christophe Amiel
b74ddf49fa
Print the total number of executed requests in test mode. 2024-06-06 17:22:04 +02:00
Jean-Christophe Amiel
79cc10cd89
Append existing JSON report. 2024-06-05 23:08:01 +02:00
Jean-Christophe Amiel
2f5b28a1d6
Add comment on SSL certificate's subject and issuer parsing. 2024-06-05 12:42:13 +00:00
Fabrice Reix
07aab17edd
Return diff output as StyledString 2024-06-05 11:39:51 +00:00
Fabrice Reix
4a4a172cf3
Update push to update last token if possible 2024-06-05 11:39:50 +00:00
Jean-Christophe Amiel
e484b1746d
Fix typo in issuer field when exporting SSL certificate to JSON 2024-06-05 10:05:18 +02:00
Fabrice Reix
fb6379a8ba
Update fixme to return a StyledString 2024-06-04 14:50:43 +00:00
Jean-Christophe Amiel
76ef2c98bc
Fix crash with --json option when capturing 'HttpOnly' and 'Secure' cookie attribute 2024-06-04 16:14:27 +02:00
Jean-Christophe Amiel
7488c4c128
Update capture_to_json integration test to improve code coverage. 2024-06-04 10:54:09 +02:00
Jean-Christophe Amiel
1b3c755f04
Use serde::Serialize macro in HurlResult serialization. 2024-06-03 21:25:17 +00:00
Fabrice Reix
d785fe06cf
Remove lifetime from StyledString struct 2024-06-03 20:57:54 +02:00
Fabrice Reix
1831f4eb4d
Add append and split methods to StyledString 2024-06-01 10:02:40 +02:00
Jean-Christophe Amiel
efbc41bf1b
USe StyledText in logger instead of colored::* 2024-05-31 18:06:59 +02:00
Fabrice Reix
b35fd1bdc0
Refacto RichText to StyledText 2024-05-31 15:28:04 +00:00
Jean-Christophe Amiel
f3858f7c18
Create intermediary directories if necessary when producing JUnit report 2024-05-31 16:57:44 +02:00
Jean-Christophe Amiel
085e67b7e9
Add more colors to RichText 2024-05-31 13:03:01 +02:00
Jean-Christophe Amiel
492ea25fee
Implementaion of builder method bold.
Note: bold method doesn't create a new token, it modifies the last token.
2024-05-31 09:16:05 +00:00
Jean-Christophe Amiel
7b6527ff16
Update docs. 2024-05-31 09:44:39 +02:00
Jean-Christophe Amiel
6f98d51092
Use FromStr trait on Url instead of dedicated associated method. 2024-05-30 17:00:39 +02:00
Fabrice Reix
165077ed21
Add RichText type 2024-05-30 15:47:15 +02:00
Jean-Christophe Amiel
e471a9aee6
Create intermediary directories if necessary when producing TAP report 2024-05-28 18:19:13 +02:00
Jean-Christophe Amiel
570741ade1
Improve JUnit error report. 2024-05-28 18:00:54 +02:00
Jean-Christophe Amiel
6ff8e0223e
Improve error reporting for TAP report. 2024-05-28 16:31:45 +02:00
Jean-Christophe Amiel
0c89d352d8
Improve report error. 2024-05-28 14:30:50 +02:00
hurl-bot
4638705351
Update crates 2024-05-26 03:01:47 +00:00
Fabrice Reix
0ec511e146
Add diff module 2024-05-25 17:07:01 +02:00
Fabrice Reix
cf449fdeef
Use output option source line for output error 2024-05-24 09:35:59 +00:00
Fabrice Reix
22c6ebf73f
Replace output warnings by errors 2024-05-23 21:58:01 +02:00
Fabrice Reix
851960b354
Move error_string function to core 2024-05-22 14:38:05 +02:00
Jean-Christophe Amiel
af0417d25d
Do not filter 'Authorization' header if host doesn't change while following redirection 2024-05-22 11:42:01 +02:00
Jean-Christophe Amiel
9dee51c22d
Fix sending Authorization header from --user when following redirect 2024-05-22 07:18:29 +00:00
Fabrice Reix
1db872486a
Display output error with source info 2024-05-21 07:23:39 +00:00
Jean-Christophe Amiel
b66884c986
Refacto on parse TAP header + add failed integration test on invalid TAP. 2024-05-20 14:47:30 +02:00
Jean-Christophe Amiel
cfcd26cc64
Do not take reports creations into account for test duration. 2024-05-20 13:15:16 +02:00
hurl-bot
1d49ba1c72
Update crates 2024-05-20 03:02:11 +00:00
Jean-Christophe Amiel
8f4e6504c3
Improve code docs. 2024-05-19 23:53:59 +02:00
Jean-Christophe Amiel
c2c8aff1b3
Export results to JSON report. 2024-05-19 17:19:13 +02:00
Jean-Christophe Amiel
75ab681cbe
Initialize report-json option. 2024-05-19 14:50:53 +02:00
Jean-Christophe Amiel
40b59bb8e3
Regroup report exports in one function. 2024-05-19 14:49:45 +02:00
Jean-Christophe Amiel
050b803a97
Use http::Url in http::Response. 2024-05-17 17:59:59 +02:00
Fabrice Reix
baf3453637
Refacto OutputError 2024-05-17 12:25:32 +00:00
Fabrice Reix
7b266f53d1
Encapsulate HttpError in RunnerError 2024-05-17 07:29:02 +00:00
Jean-Christophe Amiel
c76c16152a
Fix creation of redirect URL. 2024-05-17 00:53:36 +02:00
Jean-Christophe Amiel
3f2a7f528e
Creates query_params method on Url. 2024-05-17 00:53:13 +02:00
Jean-Christophe Amiel
fd6463b8bd
Create Url struct (wrapper on the url::Url struct from crate url). 2024-05-16 08:52:24 +00:00
hurl-bot
0a2f563368
Update crates 2024-05-16 03:01:55 +00:00
Jean-Christophe Amiel
81129ee818
Rename inner variable to kind. 2024-05-15 22:10:40 +02:00
Fabrice Reix
b3756fe1f1
Rename RunnerError 2024-05-15 16:15:59 +02:00
Fabrice Reix
954000f3ef
Rename ParseError 2024-05-15 15:08:08 +02:00
Fabrice Reix
4615283e9b
Rename Error trait to DisplaySourceError 2024-05-15 14:19:05 +02:00
Haoyu Cheng
4e588e9bbf
format code and sort filter in order 2024-05-15 06:50:14 +00:00
Haoyu Cheng
1ea8936c42
add ToFloat filter 2024-05-15 06:50:13 +00:00
Jean-Christophe Amiel
ec9af97161
Update binary installation. 2024-05-14 17:12:37 +02:00
Jean-Christophe Amiel
5e92ed95e2
Add optional directory argument to HurlResult::to_json method. 2024-05-14 00:04:31 +02:00
hurl-bot
dff555e8f5
Update crates 2024-05-09 03:02:01 +00:00
Jean-Christophe Amiel
651144541a
Update generated files. 2024-05-07 08:33:38 +00:00
Fabrice Reix
7e6e94f4f2
Fix Clippy warnings 2024-05-07 08:34:36 +02:00
Fabrice Reix
19b739f1ae
Update Rust 1.78.0 2024-05-07 08:28:30 +02:00
hurl-bot
fe26ca1c7a
Update crates 2024-05-07 03:02:11 +00:00
hurl-bot
63fd3dc713
Update crates 2024-05-05 03:02:02 +00:00
hurl-bot
c6752ff0fc
Update crates 2024-05-02 03:01:58 +00:00
Fabrice Reix
7a7d361204
Add support for importing curl url option 2024-05-01 11:14:55 +02:00
hurl-bot
25ef67b993
Update crates 2024-04-30 14:34:27 +00:00
Jean-Christophe Amiel
9638b9b2b4
Run tests in parallel. 2024-04-30 16:12:13 +02:00