API request in the call flow

Task 1. Create Data to query via API

Note. This step has to be done in order to create dummy data.

  1. Open portal mockapi.io
  2. Get authenticated
  3. Create new project
    mockapicreateproject
  4. Specify name and clice Create.
    mockapicreateprojectname
  5. Click New resource to create new data and provide name of resource and data you would like to have. In our case we will have the following data:
    • id
    • title -> random.words
    • pin -> finance.pin
      mockapispecifydata
  6. Click Create
  7. Generate 30 random cases as on the screenshot and edit them.
    mockapigeneratedata
  8. Click Data and edit it.
    • edit id to be with 5 digit
    • specify pin easily to remember, as it is for the demo
    • Click Update
      mockapieditdata
  9. Test it with Postman.
    postmanget

Task 2. Add to Flow pin check and your case title

Add the following algorithm to the flow to check details of your case. wxccflow

  1. Menu.
  2. CED Collect caseid.
  3. Set Global Variable caseid (for Reporting)
  4. Send “HTTP Request”.
    apirequest
  5. Specify path to variables. Path can be checked with https://jsonpath.com/ variablepath
  6. CED Collect PIN with TTS “If you are calling for the case , please enter PIN”
  7. Check Condition Check PIN with experssion like on the screenshot ` `.
    pincondition.
  8. Play message with good or bad authentication.

results matching ""

    No results matching ""