We’re using the automation plan to test whether the endpoints have proper authorization. I’ve had some success combining the Replacer and Requestor, but there’s one missing piece — the ability to pass a variable from one request to the next.
For example:
The Job Requestor sends a request to .../list as a user.
The next request retrieves the first item from that list using .../get(<first_item>).
Is it currently possible to pass data between requests within the automation plan, or is that something planned for a future update?
Hi Simon,
Thanks for getting back to me! I had looked into the zest script before, but I wasn’t sure how to integrate the authentication process available with the automation plan with the zest script. That is, how to integrate the headers so that it includes the correct tokens after automatically logging in.
The objective is to confirm that the portal used by the company is still properly secure and correctly authenticated at updates. Ideally this would mean checking that the CRUD of each feature still matches the documented specs for what each role can access. Ideally this would be a mapping of the walkthrough of the highest privilege access, then a repeat of the walkthrough on a lower access with correct 401 status returns. With just the requestor, we can check most pages, but not the creation and deletion features, as that would require accessing the new unique id which isn’t know prior to creation.
With the zest script, is it possible to get the authentication token from ZAP’s process and then use that in sending requests along with creating variables from the response to be used in sending further responses?
Regards,
Declan
--
ZAP by Checkmarx: https://www.zaproxy.org/
---
You received this message because you are subscribed to a topic in the Google Groups "ZAP User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/zaproxy-users/uuFDQXewprw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to zaproxy-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/zaproxy-users/d0525ffb-f5e0-4e3e-a0a9-c440a42a8401n%40googlegroups.com.