You are on page 1of 13

Contents

Setup ............................................................................................................................................................. 2
Oracle Fusion URL ................................................................................................................................. 2
Connection to AD info ............................................................................ Error! Bookmark not defined.
Install JMeter ........................................................................................................................................ 2
Install XML Format Post Processor ....................................................................................................... 2
JMeter setup ......................................................................................................................................... 4
Lab 1: Create User Account with SCIM ......................................................................................................... 4
Lab 2: Update email using the SCIM API ....................................................................................................... 7
Lab 3: Notification template update ............................................................................................................. 9
Lab 4: Create user with SCIM, Person with HDL and Worker.dat file ......................................................... 11
Annex 1: worker.dat ................................................................................................................................... 13
Setup
Oracle Fusion URL
Access Oracle Fusion Applications here:

http://hcqb-test.hcm.us2.oraclecloud.com/

Enter the following credentials

Username: Student.Testnnn
o Replace nnn with the sequence number that will be provided to you (e.g.
Student.Test000).
Password: Welcome1COE

Install JMeter
For this lab, you will need JMeter installed. You can find it at this location:

https://jmeter.apache.org/

Click on Download Releases


Click on the binaries link of the latest version
Save to a location on your computer
Extract the archive to a location on you server
Go to the bin folder
Double click on jmeter.bat to start JMeter

Install XML Format Post Processor


You will need the XML Format Post Processor add-on installed. It is a JMeter plugin that formats XML
data to an easy to read format. You can get it from this location:

https://jmeter-plugins.org/wiki/XMLFormatPostProcessor/

Click on the Download link


Click on the download version
Save the file
Open the archive
Copy the file found under the lib folder to the lib folder of your JMeter installation
Copy the 2 files found under lib/ext folder to the lib/ext folder of your JMeter installation
Restart JMeter
JMeter setup
This step will prepare JMeter for the exercises you will perform.

Open JMeter
Click File->Open. Choose file Lab_User_Management.jmx
Click on Student Login
o Username: Enter the username that was assigned to you.
Student.Test000
o Password: Welcome1COE
o Mechanism: BASIC_DIGEST
Click on File Save

Your JMeter is now ready for use.

Lab 1: Create User Account with SCIM

In this lab, you will do the following

Create a User Account using the SCIM API


Create a Person through the Application UI
Link the Person to the User Account

First, use the SCIM API to create a User Account.

1. Open JMeter.
2. Go to SCIM Create a user > Request (Create a User)
3. Go to the Body Data tab .
a. Use the values in the request as follows (Replace nnn with the last three digits of your
lastname e.g. Test000)
i. username: Testnnn.Scim001
ii. familyName: Scim001
iii. givenName: Testnnn
iv. displayName: Testnnn Scim001
v. Emails value: testnnn.scim001@oracle.com
4. Click on Save.
5. Right click on SCIM Create a user.
6. Click on Start.
a. This will create the User Account in Fusion Application.
7. Click on View Results Tree.
a. Validate the creation completed successfully

You have created the User Account.


Next, you will create the Person.

Prior to creating the Person , ensure that User Account creation is disabled.

1. Login to Fusion Application.


2. Click on the Navigator.
3. Click on Setup and Maintenance.
4. Search for Manage Enterprise HCM Information.
5. Click on Manage Enterprise HCM Information.
6. Click on Edit.
7. Click on Correct.
8. Under User and Role Provisioning Information,
a. Set User Account Creation to None.
9. Click on Submit to save the change.
10. Click Yes on the pop-up message.
11. Click OK on the confirmation message.

Next, you will now create the Person.

12. Click on Navigator.


13. Click on New Person.
14. Click on the Drawer icon.
15. Click on Hire an Employee.
16. Fill the required fields.
a. Legal Employer: JR LE1
b. Last Name: Scim001
c. First Name: Testnnn (Replace nnn with the last three digits of your student lastname
e.g. Test000)
17. Click on Next.
18. Click on Next.
19. Enter the Business Unit : Australia BU
20. Click on Next.
21. Click on Next.
22. Click on Submit.
23. Click on Yes to confirm.
24. Click on OK.
25. Click on the Navigator
26. Click on Person Management
27. Search for the person you just created to confirm it is created.

The next step is to link the Person to the User Account.

28. Go to the Navigator.


29. Click on Person management.
30. Search for the Person just created (e.g. Test000 Scim001) , click on the record
31. Click on the panel drawer.
32. Select Manage User Account.
33. Click on the Action button.
34. Select Create User Account.
35. Click Link User Account.
36. Type the User Account name created previously through the API (e.g. Test000.Scim001).
37. Click on OK.
38. Click on Save.
39. Click on Yes to confirm.
40. Click on Done.

Next, you set the User Account password in the Security Console

41. Click on the Navigator.


42. Click on Security Console.
43. Click on the Users tab.
44. Search for the User Account.
45. Click on Action menu
46. Click on Reset password.
47. Click on manually change the password.
48. Type Welcome1COE in the New Password and Confirm New Password boxes.
49. Click Reset Password
50. Click Cancel

Confirm that the new person is created and linked to the user account

51. Open new browser.


52. Go to the Application login page.
53. Login with the User Account (e.g. Test000.Scim001 with the password Welcome1COE)
Lab 2: Update email using the SCIM API

In this lab you will

Create a Person and a User Account,


Subscribe to the user account creation ATOM event
Update the user account email via the SCIM API.

First, we will configure the application to automatically create a User Account when creating a Person.

1. Click on the Navigator.


2. Click on Setup and Maintenance.
3. Search for Manage Enterprise HCM Information.
4. Click on Manage Enterprise HCM Information.
5. Click on Edit.
6. Click on Correct.
7. Under User and Role Provisioning Information, choose Both person and party users for User
Account Creation.
8. Click on Submit to save the change.
9. On the Warning screen, click Yes.
10. Click OK to confirm.

The next step is to create the Person.

11. Click on Navigator.


12. Click on Manage Users.
13. Click on Add (plus sign).
14. Fill the required fields:
a. Last Name: Mail001
b. E-Mail: test000.mail001@oracle.com
d. First Name: Testnnn First Name: Testnnn (Replace nnn with the last three digits of your
student lastname e.g. Test000)
c. Person Type choose Employee
d. Legal Employer choose JR LE1
e. Business Unit choose Australia BU
15. Click on Autoprovision Roles.
16. Click on Save and Close.

Confirm that the user account is created.

17. Click on Navigator.


18. Click Security Console.
19. Click on the User tab.
20. Search for the newly created User Account to confirm it is created.

Examine the user creation ATOM feed to get notified of the user account creation event

21. Go to JMeter.
22. Right-click on SCIM ATOM Get all user requests.
23. Click on Start.
24. Click on View Results Tree.
25. Confirm the request was executed successfully.
26. Click on the Response data tab.
27. Locate information of newly created user account in the response.
28. Copy the ID of the user account . It is a string of alpha-numeric characters.
a. user":{"id":"4E283118F41088FCE050480A369543B4"
29. Click on the SCIM Update a user email > Request (Update a user email)
30. Click on Path.
31. Paste the ID of the user account in the Path
a. The path will look like this:
hcmCoreSetupApi/scim/Users/4E283118F41088FCE050480A369543B4
32. Click on Body Data.
33. Edit the value to contain the updated email address. The line will look like this:
a. "value": testnnn.u.mail001@oracle.com
34. Click on Save.
35. Right-click SCIM Update user email.
36. Click on Start.
37. Click on View Results Tree and confirm the update worked correctly.

Login to the application and confirm the email was correctly updated.

38. Click on the Navigator


39. Go to Security Console.
40. Click on the User tab.
41. Search for the User Account.
42. Click on the User Account.
43. Confirm the email was updated.
Lab 3: Notification template update

In this lab you will create an email notification template and test it.

First, create a New User Template identified by your user name number.

1. Go to Security console.
2. Click on Administration tab.
3. Click on Notifications.
4. Click on Add Template.
e. Fill the fields as follow: (Replace nnn with the last three digits of your student lastname
e.g. Test000)
o Template Name: New Template Testnnn
o Description: Notification to be sent when a new account request is processed.
o Event: Choose New user created from the drop down list
o Message Subject: Oracle Fusion Applications-Welcome E-Mail
o Message: Copy the following text:
Dear Customer ${firstName} ${lastName},${CRLFX}${CRLFX}${SP4}Congratulations! Your
Oracle Fusion Applications account has been successfully
created.${CRLFX}${CRLFX}${SP4}Please follow the link below to reset your
password.${CRLFX}${CRLFX}${SP4} ${resetUrl}${CRLFX}${CRLFX}${SP4}For any issues,
contact your system administrator.${CRLFX}${CRLFX}Thank You,${CRLFX} Oracle Fusion
Applications${CRLFX}${CRLFX}

Updated by Testnnn.
5. Click the checkbox Enabled.
6. Click on Save and Close.
7. Confirm the new template is in the template list.

Create a new Person with its User Account with a valid email address you can retrieve. When the
creation is completed you should receive the email with the new template.

8. Click on Navigator.
9. Click on Manage Users.
10. Click on Add (plus sign).
11. Fill the required fields:
f. Last Name: New001
g. E-Mail: email you have access to
h. First Name: Testnnn
i. Person Type: choose Employee
j. Legal Employer: choose JR LE1
k. Business Unit: choose Australia BU
12. Click on Autoprovision Roles
13. Click on Save and Close.
14. Enter your Testnnn number and click on Search. Confirm the person is created.
15. Go to Security Console.
16. Click on the User tab.
17. Search for the newly created User Account to confirm it is created.
18. Validate that you received the email and that it uses the new template.
Lab 4: Create user with SCIM, Load Person with HDL

In this lab you will

Create a User Account using the SCIM API


Use the HCM Data Loader to create a person and link the person record to the user account

First, use SCIM to create a User Account .

1. Open JMeter.
2. Go to SCIM Create a user > Request (Create a User)
3. Go to the Body Data tab .
a. Use the values in the request as follows (Replace nnn with the last three digits of your
student lastname e.g. Test000)
i. username: Testnnn.Scim002
ii. familyName: Scim002
iii. givenName: Testnnn
iv. displayName: Testnnn Scim002
v. Emails value: testnnn.scim002@oracle.com
4. Click on Save.
5. Right click on SCIM Create a user.
6. Click on Start.
a. This will create the User Account in Fusion Application.
7. Click on View Results Tree.
a. Validate the creation completed successfully

We have created the User Account. The next steps are to create the Person. You will do this via HDL

1. Open the provided worker.dat in a text file editor.


2. Make the following changes
a. Replace LAST_NAME with Scim002
b. Replace FIRST_NAME with Testnnn (e.g. Test000)
c. Replace PREFIX with nnn (e.g. 000)
d. Replace USER_NAME with Testnnn.Scim002 (e.g. Test000.Scim002)
3. Save the file
4. Zip the Worker.dat file.
5. Rename the zip file to the user account name (e.g. Test000_Scim002.zip)
6. Go to Fusion Application.
7. Go to the Navigator, click on Data Exchange.
8. Click on Panel Drawer.
9. Click on Import and Load Data.
10. Click on the arrow next to Import File.
11. Click on Import Local file and browse for your zip file.
12. Click on Submit.
13. From the Schedule Request screen, click Submit.
14. Click OK to confirm.
15. Click Refresh to track progress.
16. Go to the Navigator.
17. Go to Scheduled Processes.
18. Click Schedule New Process.
19. Click on search.
20. Search and select Send Pending LDAP Requests.
21. Click on Submit.
22. Repeat steps 18 through 20 and run Update Person Search Keywords
23. In Security Console, search for the User Account (Testnnn.Scim002) to confirm it is created
24. Set password for Testnnn.Scim0002.
25. Login with the User Account to confirm it works.
Annex 1: worker.dat
Content of the worker.dat file for lab2:

COMMENT
#####################################################################################################################
#####
COMMENT Create a worker along with name, legislative data, workrelatioship, workterms, assignments, user, roles, and primary email
COMMENT
#####################################################################################################################
#####

METADATA|Worker|SourceSystemOwner|SourceSystemId|EffectiveStartDate|EffectiveEndDate|PersonNumber|StartDate|DateOfBirth|Actio
nCode
MERGE|Worker|BTPS|SSID1_nih0161WRKR_1|2017/01/27|4712/12/31|nih0161WRKR_1|2017/01/27|1970/01/01|HIRE

METADATA|PersonName|SourceSystemOwner|SourceSystemId|EffectiveStartDate|EffectiveEndDate|PersonId(SourceSystemId)|NameType|L
egislationCode|Title|LastName|FirstName|MiddleNames
MERGE|PersonName|BTPS|SSID1_nih0161PN_1|2017/01/27|4712/12/31|SSID1_nih0161WRKR_1|GLOBAL|US|MR.|Test0001|nicl|X

METADATA|PersonLegislativeData|SourceSystemOwner|SourceSystemId|EffectiveStartDate|EffectiveEndDate|PersonId(SourceSystemId)|Leg
islationCode|Sex|MaritalStatus
MERGE|PersonLegislativeData|BTPS|SSID1_nih0161PLD_1|2017/01/27|4712/12/31|SSID1_nih0161WRKR_1|US|M|M

METADATA|WorkRelationship|SourceSystemOwner|SourceSystemId|PersonId(SourceSystemId)|LegalEmployerName|DateStart|WorkerType
|PrimaryFlag
MERGE|WorkRelationship|BTPS|SSID1_nih0161WR_1|SSID1_nih0161WRKR_1|JR LE1|2017/01/27|E|Y

METADATA|WorkTerms|SourceSystemOwner|SourceSystemId|PeriodOfServiceId(SourceSystemId)|ActionCode|EffectiveStartDate|EffectiveE
ndDate|EffectiveSequence|EffectiveLatestChange|AssignmentName|AssignmentNumber|PrimaryWorkTermsFlag
MERGE|WorkTerms|BTPS|SSID1_nih0161WT_1|SSID1_nih0161WR_1|HIRE|2017/01/27|4712/12/31|1|Y|nih0161_AN_0099|nih0161_ANUM
_0099|Y

METADATA|Assignment|SourceSystemOwner|SourceSystemId|ActionCode|EffectiveStartDate|EffectiveEndDate|EffectiveSequence|Effective
LatestChange|WorkTermsAssignmentId(SourceSystemId)|AssignmentName|AssignmentNumber|AssignmentStatusTypeCode|PersonTypeCod
e|BusinessUnitShortCode|PrimaryAssignmentFlag|LocationCode
MERGE|Assignment|BTPS|SSID1_nih0161A_1|HIRE|2017/01/27|4712/12/31|1|Y|SSID1_nih0161WT_1|nih0161_AN_0098|nih0161_ANUM_
0098|ACTIVE_PROCESS|Employee|Australia BU|Y|USLoc002

METADATA|PersonUserInformation|PersonNumber|UserName|GeneratedUserAccountFlag|UsernameMatchingFlag
MERGE|PersonUserInformation|nih0161WRKR_1|tester.test0002|Y|Y

METADATA|PersonUserManualRoles|PersonNumber|UserName|RoleName
MERGE|PersonUserManualRoles|nih0161WRKR_1|tester.test0002|Employee
MERGE|PersonUserManualRoles|nih0161WRKR_1|tester.test0002|Line Manager

METADATA|PersonEmail|DateFrom|PersonNumber|EmailType|EmailAddress|PrimaryFlag|SourceSystemOwner|SourceSystemId
MERGE|PersonEmail|2017/01/27|nih0161WRKR_1|W1|nicolas.auclair.tremblay@oracle.com|Y|BTPS|SSID1_nih0161PE_1

You might also like