Hello! I am new to zap and I am trying to do an active scan for a Rest API. The authentication the API uses includes JWT token so so far I have created a Zest authentication script that extracts the token from the authentication request response and puts it in a variable name called userToken. Next I am trying to set userToken as a global variable (as I need to use it for requests in a ZEST sequence script) using Zest Action 'Global Variable - Set' so I enter 'Global Variable' as globalToken and 'Value' as {{userToken}} but when I am trying to print something like 'here is {{globalToken}}' nothing is being printed so I believe that the global variable is not set. Is there something I am doing wrong??Many thanks in advance for your help.


--
You received this message because you are subscribed to a topic in the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/zaproxy-users/9V2SsssHo7M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/8c6b9182-12a1-46c9-b90d-6a2c8f3bad13n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/bc8d0e40-2f80-4591-b599-abe320d86e6en%40googlegroups.com.