الثلاثاء، 10 مايو 2022
Show HN: A Swiss army knife for testing HTTP from the terminal https://ift.tt/AtB8p9D
Show HN: A Swiss army knife for testing HTTP from the terminal Hiya HN! Just released Artillery Probe - a Swiss army knife for testing HTTP from the CLI. Think mini-curl with better UX for common use-cases, plus a couple of extra features. Would love for you to try it and give some feedback! https://ift.tt/MAoB6V3 and: npm install artillery@latest What does it do? - First of all, it's a HTTP client! It does all the usual stuff you'd expect from a HTTP client... HTTP methods, request bodies, custom headers, forms, Basic Auth etc. - Got some JSON or XML back? It'll pretty-print it, and syntax highlight it for you. - It'll show you request waterfalls like this one: (inspired by httpstat) DNS Lookup | TCP Connection | SSL Handshake | Time to First Byte | Content Transfer 56ms | 14ms | 19ms | 181ms | 88ms | | | | | | 56ms | | | | 70ms | | | 89ms | | 270ms | total:358ms - JSON responses can be queried and sliced and diced with JMESPath (same syntax as AWS CLI) - no need to reach for jq. XML & HTML may be queried with a jQuery-like syntax too. - You can set expectations on the response, e.g. have the CLI check that the response is a 200, or that a certain header is set, and exit with non-zero code if not. Super handy for quick acceptance testing. We've got lots of ideas for improvements, but would love to hear what you think! May 11, 2022 at 12:30AM
الاشتراك في:
تعليقات الرسالة (Atom)
������ �����
خدمات طبيه https://www.cut-titles.com/Y4ZR
-
Show HN: Disable Python assertions per file/module https://ift.tt/2V4sNqG June 19, 2020 at 11:45PM
-
Show HN: Lisp in C Tutorial Series I've been learning how to implement a Lisp interpreter in C, and decided to break it up into a tutori...
-
Show HN: tmux.nvim – turning Neovim into a terminal multiplexer https://ift.tt/IjKzCle April 9, 2022 at 11:53PM
-
Show HN: Phase – Generate sounds from mathematical functions https://ift.tt/2MhfIFT January 14, 2020 at 01:20AM
-
History in Motion: New Photos from the 1960s to 1980s Now Online By Jeremy Menzies We’ve been hard at work in the SFMTA Photo Archive and ...
-
Show HN: Nosigsegv – Say goodbye to crashes in your Go apps https://ift.tt/3sYkDBJ January 6, 2022 at 01:42AM
-
https://ift.tt/TLbnWFQ via /r/aww https://ift.tt/SE126jQ
-
https://ift.tt/T7LG1sg via /r/aww https://ift.tt/TNwxeKZ
ليست هناك تعليقات:
إرسال تعليق