Team,
I want to extract some information from verifyAPIKey flow variables . My verifyApiKey policy is located in the preflow and so I used 'ExtractVariable" policy to get the below information , i am not sure what value I need to provide in the “Source” attribute in this case. I tried “request” & “message” but both are notworking and still i am not able to get the values of the below flow variables. Please advice
Examples:
|
verifyapikey.VerifyAPIKey.apiproduct.access |
public |
|---|---|
|
verifyapikey.VerifyAPIKey.apiproduct.consumer-application-name |
abc |
|
verifyapikey.VerifyAPIKey.apiproduct.name |
efg |
|
verifyapikey.VerifyAPIKey.client_id |
E5fJ43i08Lk3fVRBPgyd10DdzgAUJp9r |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ExtractVariables async="false" continueOnError="false" enabled="true" name="ExtractConsumerApplicationName">
<DisplayName>ExtractConsumerApplicationName</DisplayName>
<Properties/>
<Variable name="consumer-application-name">
<Pattern>{verifyapikey.VerifyAPIKey.apiproduct.consumer-application-name}</Pattern>
</Variable>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<Source clearPayload="false">message</Source>
<VariablePrefix>productinfo</VariablePrefix>
</ExtractVariables>
Note:- VerifyApiKey & ExtractConsumerApplicationName polices located in the preflow and I want to use the new flow variable(ConsumerApplicationName) in polices located in Request/Response flow