Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Latest commit

 

History

History
64 lines (45 loc) · 3.85 KB

Ex-3.Testing_Your_Integration_Scenario.md

File metadata and controls

64 lines (45 loc) · 3.85 KB

Testing Your Integration Scenario

In this exercise, you will test the integration scenario that you have designed. Please ensure that you have downloaded Postman client. You will create a new employee on BambooHR and then use the employee ID to trigger a request from Postman to your integration flow.

Prerequisites

Creating A New Employee in BambooHR

  1. Login to your BambooHR system.

  2. Select New > New Employee. Create Bamboo Employee 1

  3. Mandatorily enter the following values. If you wish, you can also enter values for the other fields as well. Once you have entered all the values, click on Save.

Field Descrption
Employee# Enter an employee number of your choice
Name Enter values for first and last name
Preferred Name Enter the preferred name
Gender Choose a gender from the dropdown list
Address Mandatorily fill all values of the address, including the postcode and country
Work Email Enter the emailID of your GMail account that you used for this exercise

Create Bamboo Employee 2

  1. You will see a success message that the employee has been added. From the browser URL, plese make a note of the employeeID. You will see it indicated by the id URL parameter. Create Bamboo Employee 3

Testing Your Integration Flow

  1. Launch Postman and click on + icon to create a new request. Test iflow 1

  2. Select the POST operation. Test iflow 2

  3. In the request URL, enter the endpoint of your integration flow that you deployed in this exercise. Test iflow 3

  4. Select the Authorization tab and select Basic Auth in the TYPE dropdown list. Test iflow 4

  5. Enter the clientid in the Username field and clientsecret in the Password field. Test iflow 5

  6. Select Body tab. Select raw radio button and enter the employee ID of the employee you created in this section. Here's an example of the value you would enter if the employee ID is 110.

<eid>110</eid>

After entering the value, click on Send. Test iflow 6

  1. If the request is successful, you will see a response code 200. Test iflow 7

  2. Access your GMail account. You should have received an email, referring to the new employee you created. Gmail success

  3. Access your Slack teched2020 workspace. You should see a message addressed to the team and requesting for the next steps to be processed. Slack success