Community Training Classes & Labs > F5 Programmability Training Index

Lab 2.1: Install the f5-postman-workflows Framework

In this lab you will walk through installing the f5-postman-workflows framework into the Postman REST Client.

Task 1 - Import the f5-postman-workflows Postman Collection

In this task you will Import a Postman Collection that contains Installation helpers, Examples and a automated Test Framework. The collection is installed from the f5-postman-workflows GitHub repository.

Perform the following steps to complete this task:

  1. Open the Postman Client on your jumphost by clicking the image8 icon

  2. Click the ‘Import’ button in the top left of the Postman window

  3. Click the ‘Import from Link’ tab. Paste the following URL into the text box and click ‘Import’

    https://raw.githubusercontent.com/0xHiteshPatel/f5-postman-workflows/master/F5_Postman_Workflows.postman_collection.json

  4. You should now see a collection named F5_Postman_Workflows in your Postman Collections sidebar

Task 2 - Install f5-postman-workflows into your Postman Client

To utilize the helper functions the framework include we must install those functions into the Postman Client. The installation helpers perform the following tasks:

  1. Determine the most current version of the framework
  2. Dynamically minify the JavaScript code from the f5-postman-workflows GitHub repository using Google’s Closure Compiler
  3. Install the minified JS code into a Postman Global Variable
  4. Set a number of Global variables that allow you to configure various options

To install the framework complete the following tasks:

  1. Open the F5_Postman_Workflows collection

  2. Open the Install folder

  3. Select the Check f5-postman-workflows Version item and click ‘Send’

  4. Examine the ‘Tests’ portion of the RESPONSE:

    image79

  5. Select the Install/Upgrade f5-postman-workflows item and click ‘Send’

  6. Examine the ‘Tests’ again and ensure that Installation was successful:

    image80

  7. Click the ‘Eye’ button in the top right of the Postman window and examine the Global variables that have been populated

    image81

The f5-postman-workflows framework is now installed in your Postman client.