Convenient way to fill Map Value assertion
search cancel

Convenient way to fill Map Value assertion


Article ID: 140254


Updated On:


CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway


If we have to enter a large amount of map entities in the  fill Map Value assertion using the UI is cumbersome and time consuming .

Is there any  more convenient way to load the mapping from a file in any format like csv, json, xml etc. instead of filling up Map Value Assertion manually via Map Value Properties and adding Mappings ?



Release : 9.x

Component : API Gateway


There is no import function for the map assertion itself to load the mappings.

As a workaround you can :

  • create a dummy policy
  • add the map assertion to it
  • add some sample mappings
  • export the policy to xml
  • Check the created xml
  • add your mappings to the xml in the mappings section
  • import the dummy policy again
  • copy the map assertion from the dummy policy to your policy