diff --git a/commons/masterdata/scripts/Masterdata_Helper_Script.jmx b/commons/masterdata/scripts/Masterdata_Helper_Script.jmx
index 68c036a6..59f4569e 100644
--- a/commons/masterdata/scripts/Masterdata_Helper_Script.jmx
+++ b/commons/masterdata/scripts/Masterdata_Helper_Script.jmx
@@ -33,7 +33,7 @@
clientId
- mosip-regproc-client
+ mosip-admin-client
=
@@ -43,12 +43,12 @@
appId
- regproc
+ admin
=
serverIP
- cellbox.mosip.net
+ api-internal.cellbox1.mosip.net
=
diff --git a/commons/masterdata/scripts/Masterdata_Test_Script.jmx b/commons/masterdata/scripts/Masterdata_Test_Script.jmx
index ced538d6..e7b5cc2c 100644
--- a/commons/masterdata/scripts/Masterdata_Test_Script.jmx
+++ b/commons/masterdata/scripts/Masterdata_Test_Script.jmx
@@ -5,7 +5,7 @@
false
true
- true
+ false
@@ -33,7 +33,7 @@
serverIP
- cellbox2.mosip.net
+ api-internal.cellbox1.mosip.net
=
@@ -53,7 +53,7 @@
./authorization_token_masterdata.txt
authToken
- false
+ true
,
false
true
@@ -61,67 +61,30 @@
shareMode.all
-
+
continue
false
- 10
+ 1
- 10
+ 1
1
false
900
- true
+ false
-
- ./templates.csv
-
- id,name,description,fileFormatCode,model,fileText,moduleId,moduleName,templateTypeCode,langCode,isActive
- true
- ,
- false
- true
- false
- shareMode.all
-
-
-
- true
-
-
-
- false
- {
- "id": "string",
- "metadata": {},
- "request": {
- "description": "${description}",
- "fileFormatCode": "${fileFormatCode}",
- "fileText": "${fileText}",
- "id": "${id}",
- "isActive": ${isActive},
- "langCode": "${langCode}",
- "model": "${model}",
- "moduleId": "${moduleId}",
- "moduleName": "${moduleName}",
- "name": "${name}",
- "templateTypeCode": "${templateTypeCode}"
- },
- "requesttime": "2018-12-10T06:12:52.994Z",
- "version": "string"
-}
- =
-
-
+
+
+
${serverIP}
${serverPortNo}
${protocol}
v1/masterdata/templates
- POST
+ GET
true
false
true
@@ -146,7 +109,7 @@
- "response":{"id":"
+ "response":{"templates":
Assertion.response_data
@@ -154,60 +117,12 @@
16
-
-
-
- continue
-
- false
- -1
-
- 30
- 1
- true
- 900
-
- true
-
-
-
-
-
-
- ${serverIP}
- ${serverPortNo}
- ${protocol}
-
- v1/masterdata/templates
- GET
- true
- false
- true
- false
-
-
-
-
-
-
-
-
- Content-Type
- application/json
-
-
- Cookie
- Authorization=${authToken}
-
-
-
-
-
+
- "response":{"templates":
+ 200
- Assertion.response_data
+ Assertion.response_code
false
16
@@ -218,17 +133,17 @@
continue
false
- 100
+ -1
10
- 1
- false
- 900
+ 10
+ true
+ 600
true
-
+
@@ -272,7 +187,7 @@
false
- lang&TempTypeCode
+ langTempTypeCode
","templateTypeCode":"(.*?)","langCode":"(.*?)","
$2$/$1$
lang&TempTypeCode not found
@@ -283,9 +198,19 @@
false
- ${__StringToFile(langAndTempTypeCodes.csv,${lang&TempTypeCode}\n,true,)}
+ ${__StringToFile(langAndTempTypeCodes.csv,${langTempTypeCode}\n,true,)}
+
+
+ 200
+
+
+ Assertion.response_code
+ false
+ 16
+
+
@@ -294,10 +219,10 @@
false
-1
- 70
+ 1
1
true
- 900
+ 600
true
@@ -305,7 +230,7 @@
./langAndTempTypeCodes.csv
- lang&TempTypeCode
+ langTempTypeCode
true
,
false
@@ -314,7 +239,7 @@
shareMode.all
-
+
@@ -322,7 +247,7 @@
${serverPortNo}
${protocol}
- v1/masterdata/templates/${lang&TempTypeCode}
+ v1/masterdata/templates/${langTempTypeCode}
GET
true
false
@@ -356,178 +281,33 @@
16
-
-
-
- continue
-
- false
- -1
-
- 40
- 1
- true
- 900
-
- true
-
-
-
-
-
-
- ${serverIP}
- ${serverPortNo}
- ${protocol}
-
- v1/masterdata/idschema/latest?schemaVersion=${schemaVersion}
- GET
- true
- false
- true
- false
-
-
-
-
-
-
-
-
- Content-Type
- application/json
-
-
- Cookie
- Authorization=${authToken}
-
-
-
-
-
-
- status":"PUBLISHED"},"errors":null}
-
-
- Assertion.response_data
- false
- 16
-
-
-
-
-
- continue
-
- false
- 10
-
- 10
- 1
- false
- 900
-
- true
-
-
-
- ./dynamicFields.csv
-
- id,name,langCode,dataType,description,code,value,langCode,active
- true
- ,
- false
- true
- false
- shareMode.all
-
-
-
- true
-
-
-
- false
- {
- "id": "null",
- "metadata": {},
- "request": {
- "active": ${active},
- "dataType": "${dataType}",
- "description": "${description}",
- "fieldVal": [
- {
- "active": ${active},
- "code": "${code}",
- "langCode": "${langCode}",
- "value": "${value}"
- }
- ],
- "langCode": "${langCode}",
- "name": "${name}"
- },
- "requesttime": "2018-12-10T06:12:52.994Z",
- "version": "string"
-}
- =
-
-
-
- ${serverIP}
- ${serverPortNo}
- ${protocol}
-
- v1/masterdata/dynamicfields
- POST
- true
- false
- true
- false
-
-
-
-
-
-
-
-
- Content-Type
- application/json
-
-
- Cookie
- Authorization=${authToken}
-
-
-
-
-
+
- "message":"
+ 200
- Assertion.response_data
+ Assertion.response_code
false
16
-
+
continue
false
-1
- 40
+ 1
1
true
- 900
+ 600
- true
+ false
-
+
@@ -535,7 +315,7 @@
${serverPortNo}
${protocol}
- v1/masterdata/dynamicfields?pageNumber=0&pageSize=10&sortBy=name&orderBy=desc
+ v1/masterdata/idschema/latest?schemaVersion=${schemaVersion}
GET
true
false
@@ -561,7 +341,7 @@
- errors":
+ status":"PUBLISHED"},"errors":null}
Assertion.response_data
@@ -569,124 +349,12 @@
16
-
-
-
- continue
-
- false
- 10
-
- 10
- 1
- false
- 900
-
- true
-
-
-
- ./regCenters.csv
-
- id,name,centerTypeCode,addressLine1,addressLine2,addressLine3,latitude,longitude,locationCode,holidayLocationCode,contactPhone,workingHours,langCode,numberOfKiosks,perKioskProcessTime,centerStartTime,centerEndTime,timeZone,contactPerson,lunchStartTime,lunchEndTime,isActive,zoneCode
- true
- ,
- false
- true
- false
- shareMode.all
-
-
-
- true
-
-
-
- false
- {
- "id": "null",
- "metadata": {},
- "request": {
- "addressLine1": "${addressLine1}",
- "addressLine2": "${addressLine2}",
- "addressLine3": "${addressLine3}",
- "centerEndTime": "${centerEndTime}",
- "centerStartTime": "${centerStartTime}",
- "centerTypeCode": "${centerTypeCode}",
- "contactPerson": "${contactPerson}",
- "contactPhone": "${contactPhone}",
- "exceptionalHolidayPutPostDto": [
- {
- "exceptionHolidayDate": "${__time(yyyy-MM-dd,)}",
- "exceptionHolidayName": "string",
- "exceptionHolidayReson": "string"
- }
- ],
- "holidayLocationCode": "${holidayLocationCode}",
- "id": "${id}",
- "isActive": ${isActive},
- "langCode": "${langCode}",
- "latitude": "${latitude}",
- "locationCode": "${locationCode}",
- "longitude": "${longitude}",
- "lunchEndTime": "${lunchEndTime}",
- "lunchStartTime": "${lunchStartTime}",
- "name": "${name}",
- "perKioskProcessTime": "${perKioskProcessTime}",
- "timeZone": "${timeZone}",
- "workingHours": "${workingHours}",
- "workingNonWorkingDays": {
- "fri": true,
- "mon": true,
- "sat": true,
- "sun": true,
- "thu": true,
- "tue": true,
- "wed": true
- },
- "zoneCode": "${zoneCode}"
- },
- "requesttime": "2018-12-10T06:12:52.994Z",
- "version": "null"
-}
- =
-
-
-
- ${serverIP}
- ${serverPortNo}
- ${protocol}
-
- v1/masterdata/registrationcenters
- POST
- true
- false
- true
- false
-
-
-
-
-
-
-
-
- Content-Type
- application/json
-
-
- Cookie
- Authorization=${authToken}
-
-
-
-
-
+
- "response":
+ 200
- Assertion.response_data
+ Assertion.response_code
false
16
@@ -699,15 +367,15 @@
false
-1
- 40
+ 1
1
true
- 900
+ 600
true
-
+
@@ -749,6 +417,16 @@
16
+
+
+ 200
+
+
+ Assertion.response_code
+ false
+ 16
+
+
@@ -757,10 +435,10 @@
false
-1
- 40
- 1
+ 5
+ 5
true
- 900
+ 600
true
@@ -777,7 +455,7 @@
shareMode.all
-
+
@@ -819,10 +497,20 @@
16
+
+
+ 200
+
+
+ Assertion.response_code
+ false
+ 16
+
+
- false
+ true
saveConfig
diff --git a/commons/masterdata/support-files/userIDValues.txt b/commons/masterdata/support-files/userIDValues.txt
index 7947b791..c1713af2 100644
--- a/commons/masterdata/support-files/userIDValues.txt
+++ b/commons/masterdata/support-files/userIDValues.txt
@@ -1,6 +1,27 @@
userID
-10001
-10002
-10003
-10004
-10005
+dsl75
+dsl1
+dsl76
+dsl77
+dsl53
+dsl531
+tree6
+tree156
+tree8
+test2
+test3
+test75
+tree531
+test76
+test53
+test531
+test8
+tree4
+tree77
+test77
+dsl4
+dsl3
+tree75
+tree7
+tree53
+tree76