Commit Graph

306 Commits

Author SHA1 Message Date
Fabrice Reix
3c0a376bca Fix test cookie_file 2021-02-04 10:23:02 +01:00
Fabrice Reix
af75640fdd Add explicit error for invalid utf8 encoding 2021-02-03 20:10:32 +01:00
Fabrice Reix
797788c571 Tests hurl files in order 2021-01-28 11:49:21 +01:00
Fabrice Reix
a85170998f Migrate integration scripts to python
so that they can be executed then in windows
2021-01-14 20:40:37 +01:00
Fabrice Reix
13e8d5fe7b Support for windows 2021-01-14 16:14:04 +01:00
Fabrice Reix
37710d2523 Add test integ for input cookie file 2021-01-11 19:05:33 +01:00
Fabrice Reix
d10045e320 Add option --variables-file 2021-01-09 20:31:26 +01:00
Fabrice Reix
8b12a574a6 Support template in json for null, boolean and numbers 2021-01-09 18:32:31 +01:00
Fabrice Reix
3b71306abf Update integration test report 2020-12-18 09:01:14 +01:00
Fabrice Reix
833e2bf157 Fix html export 2020-12-05 12:04:35 +01:00
Fabrice Reix
f3fd06945f Fix json export 2020-12-05 12:04:35 +01:00
Fabrice Reix
7588929755 Fix typo in json export 2020-11-30 15:38:44 +01:00
Fabrice Reix
79713ef647 Make predicates with numbers "arithmetic"
floats and integers can be replaced with each other
jsonpath "$.count" equals 5
jsonpath "$.count" equals 5.0
2020-11-29 17:34:30 +01:00
Fabrice Reix
85f2cfff3d Update Test Integ 2020-11-28 18:37:31 +01:00
Fabrice Reix
842f3f6189 Parse extra dot in jsonpath expression
example: $.store.book.[0].title
not really standard
but parsed by jsonpath.com
2020-11-28 17:39:23 +01:00
Fabrice Reix
0ca127f6dd Update integration report 2020-11-22 09:13:05 +01:00
Fabrice Reix
c3b6f85fde Add duration query 2020-11-22 08:55:07 +01:00
Fabrice Reix
5fa85dbfce Add integ tests 2020-11-21 17:28:31 +01:00
Fabrice Reix
22ef5583dc Use --format instead of --output 2020-11-16 22:18:16 +01:00
Fabrice Reix
0c2b439b3c Update format to html 2020-11-16 21:34:38 +01:00
Fabrice Reix
b9f1efd174 Update hurlfmt usage 2020-11-15 17:08:49 +01:00
Fabrice Reix
091944f544 Add test integ max-redirect 2020-11-15 09:29:39 +01:00
Fabrice Reix
9ce30efcda Export AST to json (continued) 2020-11-11 18:17:45 +01:00
Fabrice Reix
7798c8dcf9
Merge pull request #77 from Orange-OpenSource/feature/report-html-simplify-usage
Simplify usage for html report
2020-11-10 08:03:26 +01:00
Fabrice Reix
b0fea5a029 Simplify usage for html report 2020-11-10 07:52:09 +01:00
Fabrice Reix
1956ebcd94 Support user in url 2020-11-10 07:35:27 +01:00
Fabrice Reix
4c6fce3b86 Update html report 2020-11-09 22:32:40 +01:00
Fabrice Reix
7601b63825 Add test for large response 2020-11-09 22:32:40 +01:00
Fabrice Reix
f99b66502f Add test for include option
amend commit
2020-11-09 22:32:40 +01:00
Fabrice Reix
91ef40087c Refacto test integ 2020-11-09 22:32:40 +01:00
Fabrice Reix
5634d29105 Update data file 2020-11-09 20:24:08 +01:00
Fabrice Reix
42cff4055c Add json export for AST 2020-11-07 20:42:22 +01:00
Fabrice Reix
698b6dcca6 add wildcard for http status code
in order to ignore implict assert on status code
2020-11-03 20:34:12 +01:00
Fabrice Reix
c8b3f76578 Add test proxy 2020-10-30 10:15:25 +01:00
Fabrice Reix
e90eb37b27 Add Accept-Encoding header with --compressed option 2020-10-27 08:35:14 +01:00
Fabrice Reix
0932647379 Generate html report by running hurl tests successively
Results are appended together in a common json file
2020-10-23 16:11:16 +02:00
Fabrice Reix
9e56b9c935 [Fix] Remove unnecessary trailing comma in Cookie String 2020-10-23 13:02:50 +02:00
Fabrice Reix
7e36855113 [FIX] Send multiple request cookies 2020-10-22 10:15:47 +02:00
Fabrice Reix
9fe9aa7953 Add option user 2020-10-21 13:48:22 +02:00
Fabrice Reix
af63efa578 Add request Expect Header explicitly
Fix: http version is the from the last status line
2020-10-21 09:25:22 +02:00
Fabrice Reix
1464a5d908 Support multiple Content-Encoding 2020-10-20 13:51:50 +02:00
Fabrice Reix
9617cba31d Fix mock for brotli 2020-10-20 08:18:27 +02:00
Fabrice Reix
4a6bc950f1 Fix Predicates with not qualifiers 2020-10-19 17:55:03 +02:00
Fabrice Reix
c6347a6828 Decompress response body
- explicitly for the output if --compressed has been set
- implicitly for textual queries
2020-10-15 08:44:21 +02:00
Fabrice Reix
8a46b0b2e3 add option --compressed 2020-10-12 14:08:01 +02:00
Fabrice Reix
5dfea2822d Big Refacto - clean and isolate modules 2020-10-11 17:31:09 +02:00
Fabrice Reix
4940333bf7 Add timeout option (--connect-timeout and --max-time) 2020-09-24 21:02:53 +02:00
Fabrice Reix
6eaaf88d0d Request cookies must not change the cookie storage
Change to cookie storage are made explicit with directives (experimental feature)
@cookie_storage_set
@cookie_storage_clear
2020-09-23 20:35:00 +02:00
Fabrice Reix
9ef6e7665b Improve http error messages 2020-09-23 07:35:42 +02:00
Fabrice Reix
9906c10b6e Update Cookie Query for Secure/HttpOnly attribute 2020-09-22 08:34:20 +02:00
Fabrice Reix
5af47c3f33 Clean script 2020-09-19 21:17:19 +02:00
Fabrice Reix
2f84c178a8 Use libcurl under the hood 2020-09-17 16:19:32 +02:00
jcamiel
4888f44759 Remove color default options for running tests. 2020-09-15 11:18:12 +02:00
jcamiel
b0ba08ec21 Add optional options in integration tests. 2020-09-14 15:32:25 +02:00
jcamiel
9aaa346974 Change foo.com domain for localhost. 2020-08-28 14:27:18 +02:00
Fabrice Reix
d849e0d1b3 Init Commit - beta release 0.99.12 2020-08-27 16:44:57 +02:00