Layer7 API Management

Policy Repository: Random number generator 

Apr 18, 2019 03:23 PM

A simple policy that allows you to generate a random number of a fixed length.


To use:

 

  1. Open policy manager and create a test service
  2. Download the attached file and import the XML file into your new service
  3. Modify this variable as needed:
    LENGTH: The number of digits to be returned
  4.  Hit the endpoint via your desired user agent (i.e: browser, SOAPUI, etc).

Statistics
0 Favorited
17 Views
1 Files
0 Shares
9 Downloads
Attachment(s)
zip file
random_number_generator_variable_length.xml.zip   1 KB   1 version
Uploaded - May 29, 2019

Tags and Keywords

Related Entries and Links

No Related Resource entered.