A pytest-inspired, DAST framework, capable of identifying vulnerabilities in a distributed, micro-service ecosystem through chaos engineering testing and stateful, Swagger fuzzing.
While trying to add this internally, I found a use case where we need to rerun a hook. Specifically, when a server reads a nonce from the request, we need to regenerate this nonce on every new request. If this nonce is generated by a hook, then we can just re-run the hook to generate the nonce.
This PR adds a rerun parameter to the hook decorator so that fuzz-lightyear can rerun the hook if the same request is sent twice. Test included.
While trying to add this internally, I found a use case where we need to rerun a hook. Specifically, when a server reads a nonce from the request, we need to regenerate this nonce on every new request. If this nonce is generated by a hook, then we can just re-run the hook to generate the nonce.
This PR adds a
rerun
parameter to the hook decorator so that fuzz-lightyear can rerun the hook if the same request is sent twice. Test included.TODO: readme