Aduket : Straight-forward HTTP Client Testing, Assertions Included

Aduket Straight-forward HTTP client testing, assertions included. Simple httptest.Server wrapper with a little request recorder spice on it. No special DSL, no complex API to learn. Just create a server and fire your request like an Hadouken then assert it.

TODO

  • Add support for accessing to each RequestRecorder of Route of MultiRouteServer
  • Extract Request().Body to requestRecorder.Body binding logic to CustomBinder
  • Add badges to README.md
  • Add NewServerWithTimeout for testing API timeouts
  • http.RoundTripper interface can be implemented to mock arbitrary URLs
  • Add multiple request assertion logic
  • Add example usages
  • Add docs
  • Add meaningful error messages to assertions
  • Add response headers to NewServer
  • Add request header assertions
  • Add multiple route registration to server

Also Read – IPv6Tools : A Robust Modular Framework

LICENSE

Copyright 2020 StreetByters Community

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

R K

Recent Posts

garak, LLM Vulnerability Scanner : The Comprehensive Tool For Assessing Language Model Security

garak checks if an LLM can be made to fail in a way we don't…

22 hours ago

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration…

22 hours ago

AD-CS-Forest-Exploiter : Mastering Security Through PowerShell For AD CS Misconfiguration

ADCFFS is a PowerShell script that can be used to exploit the AD CS container…

22 hours ago

Usage Of Tartufo – A Comprehensive Guide To Securing Your Git Repositories

Tartufo will, by default, scan the entire history of a git repository for any text…

22 hours ago

Loco : A Rails-Inspired Framework For Rust Developers

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at…

2 days ago

Monolith : The Ultimate Tool For Storing Entire Web Pages As Single HTML Files

A data hoarder’s dream come true: bundle any web page into a single HTML file.…

2 days ago