Skip to content

v1.0.0

Choose a tag to compare

@bararchy bararchy released this 13 Sep 10:38
· 151 commits to main since this release
  • HAR based target allowing manual configuration
  • fixed specs

Manual target configurations

The following example shows how to configure a target manually.
this is very useful to control expected response from the target.

target: SecTester::Target.new(
  method: "GET",
  url: "http://#{addr}/?name=jhon",
  response_headers: HTTP::Headers{"Content-Type" => "text/html"}
)