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

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

11 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

11 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

2 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago