-
Type:
Change Request
-
Status: Closed
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Integrations
-
Labels:None
-
Module:TSR
-
Reported by:Harbinger
-
Item State:Production Complete - Closed
-
Issue Importance:Q1
-
Severity:Medium
1. Launch the Postman app.
2. Select “Post” request from dropdwon.
3. Select authorization type as “Basic Auth”.
4. Enter valid User ID and Password.
5. Enter below URL:
http://10.0.2.120/api/employee/addEmployeeToury=12480
6. Pass the require parameter using body.
7. Click on Send button.
Observe the error messages in following scenarios:
*Scenario 1 * Try to add duplicate user with existing Candidate ID and Email ID. Below error message is displaying:
{
"status": "Error",
"message": "Employee record not saved",
"errorLevel": "Information",
"code": 400,
"description": "Invalid employee parameters"
}
Looking at this error message user is not able to understand what's is invalid parameter, so we need to change the description like:
CandidateId and Email ID already exists. (If both are duplicate)
CandidateId/Email ID already exists. (Any one of them duplicate)
Scenario 2 :
Below message is not as per specification:
{
"status": "Failed",
"message": "Bad parameters",
"errorLevel": "Information",
"code": 400,
"description": "Required parameter company is missing"
}
Above message is displaying in below scenarios:
A] Mandatory field is blank
B] Invalid Username/Password
We will add more scenarios to this ticket as an when we are come across such scenarios.
- relates to
-
NF-180 TSR: API: Add Employee- generate & assign defaults
-
- Closed
-
Assignee | Rupesh Mandal [ rupesh.mandal ] | Saurabh Sablaka [ saurabh.sablaka ] |
Item State | Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) |
Assignee | Saurabh Sablaka [ saurabh.sablaka ] | Kunal Kedari [ kunal.kedari ] |
Status | New Request [ 10029 ] | Pending for Approval [ 10002 ] |
Status | Pending for Approval [ 10002 ] | Approved for Development [ 10003 ] |
Status | Approved for Development [ 10003 ] | In Development [ 10007 ] |
Status | In Development [ 10007 ] | Local Testing [ 10200 ] |
Item State | Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) | Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) |
Status | Local Testing [ 10200 ] | Pending for Stage Approval [ 10300 ] |
Item State | Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) | Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224) |
Status | Pending for Stage Approval [ 10300 ] | Approved for Stage [ 10030 ] |
Status | Approved for Stage [ 10030 ] | Stage Testing [ 10201 ] |
Item State | Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224) | Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) |
Item State | Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) |
Remaining Estimate | 1h [ 3600 ] | |
Original Estimate | 1h [ 3600 ] |
Remaining Estimate | 1h [ 3600 ] | 0.5h [ 1800 ] |
Time Spent | 0.5h [ 1800 ] | |
Worklog Id | 42310 [ 42310 ] |
Item State | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) | Parent values: Production QA(10203)Level 1 values: In Testing(10218) |
Item State | Parent values: Production QA(10203)Level 1 values: In Testing(10218) | Parent values: Production Complete(10222)Level 1 values: Closed(10223) |
Status | Stage Testing [ 10201 ] | Pending for Production Approval [ 10301 ] |
Status | Pending for Production Approval [ 10301 ] | Approved for production [ 10034 ] |
Status | Approved for production [ 10034 ] | Production Testing [ 10202 ] |
Resolution | Fixed [ 1 ] | |
Status | Production Testing [ 10202 ] | Production Complete [ 10028 ] |
Status | Production Complete [ 10028 ] | Closed [ 6 ] |
Transition | Time In Source Status | Execution Times |
---|
|
1d 20h 12m | 1 |
|
2s | 1 |
|
2s | 1 |
|
1s | 1 |
|
2d 6h 53m | 1 |
|
4d 16h 55m | 1 |
|
2s | 1 |
|
34d 1h 36m | 1 |
|
3s | 1 |
|
5s | 1 |
|
13s | 1 |
|
3s | 1 |
We have added validation & error messages as per specific field now.