Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-584

TSR Integration->Add Employee->Error messages changes.

    Details

    • 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

      Description

      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.

      Cc: Saurabh Sablaka, Prasad Pise

        Attachments

          Issue Links

            Activity

            Transition Time In Source Status Execution Times
            Saurabh Sablaka (Inactive) made transition -
            New Request Pending for Approval
            1d 20h 12m 1
            Saurabh Sablaka (Inactive) made transition -
            Pending for Approval Approved for Development
            2s 1
            Saurabh Sablaka (Inactive) made transition -
            Approved for Development In Development
            2s 1
            Saurabh Sablaka (Inactive) made transition -
            In Development In LB Testing
            1s 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Pending for Stage Approval
            2d 6h 53m 1
            Kunal Kedari (Inactive) made transition -
            Pending for Stage Approval Approved for Stage
            4d 16h 55m 1
            Kunal Kedari (Inactive) made transition -
            Approved for Stage Stage Testing
            2s 1
            Kunal Kedari (Inactive) made transition -
            Stage Testing Pending for Production Approval
            34d 1h 36m 1
            Kunal Kedari (Inactive) made transition -
            Pending for Production Approval Approved for production
            3s 1
            Kunal Kedari (Inactive) made transition -
            Approved for production In Production Testing
            5s 1
            Kunal Kedari (Inactive) made transition -
            In Production Testing Production Complete
            13s 1
            Kunal Kedari (Inactive) made transition -
            Production Complete Closed
            3s 1

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (Inactive)
              QA:
              Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Time Spent - 0.5h Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - 0.5h Remaining Estimate - 0.5h
                  0.5h