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

TSR Integration->Get Tours->Proper message should be display for invalid tour type instead of "An error has occurred".

    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:
      Simple

      Description

      1. Launch the Postman app.
      2. Select “Get” request from dropdwon.
      3. Select authorization type as “Basic Auth”.
      4. Enter Valid User ID and Password.
      5. Enter below URL:
      URL= http://wt-stage/api/Tours/GetTours?company=12480&tourType=ABC
      6. Click on Send button.
      7. Observe JSON output.

      Actual Result:
      "An error has occurred" message is displaying.
      Expected Result:
      Proper message should be display.

      Cc: Prasad Pise, Saurabh Sablaka

        Attachments

          Issue Links

            Activity

            kunal.kedari Kunal Kedari (Inactive) created issue -
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to NF-55 [ NF-55 ]
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: LB QA(10201)Level 1 values: In Testing(10210)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            We have verified the change on Local (wt-stage) now proper message is displaying JSON format for invalid tour type. We can deploy it on Stage.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - We have verified the change on Local (wt-stage) now proper message is displaying JSON format for invalid tour type. We can deploy it on Stage.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: In Testing(10210) Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Assignee Sushodhan Vaishampayan [ sushodhan.vaishampayan ] Kunal Kedari [ kunal.kedari ]
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            rakeshr Rakesh Roy (Inactive) made changes -
            Status New Request [ 10029 ] Pending for Approval [ 10002 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Pending for Approval [ 10002 ] Approved for Development [ 10003 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Approved for Development [ 10003 ] In Development [ 10007 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Local Testing [ 10200 ] Pending for Stage Approval [ 10300 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Pending for Stage Approval [ 10300 ] Approved for Stage [ 10030 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Approved for Stage [ 10030 ] Stage Testing [ 10201 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224)
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment - - edited

            Verified the fix on Stage environment, working as expected now below message is displaying for invalid tour type:

            Now below message is displaying:
            {
            "status": "Error",
            "message": "Invalid data input",
            "errorLevel": "Error",
            "code": 400,
            "description": "Invalid tour type"
            }

            As of now marking this issue as On hold for Production deployment.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - - edited Verified the fix on Stage environment, working as expected now below message is displaying for invalid tour type: Now below message is displaying: { "status": "Error", "message": "Invalid data input", "errorLevel": "Error", "code": 400, "description": "Invalid tour type" } As of now marking this issue as On hold for Production deployment.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Issue Importance Q1 [ 14900 ]
            prasadp Prasad Pise (Inactive) made changes -
            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)
            saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
            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)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) Parent values: Production QA(10203)Level 1 values: In Testing(10218)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Stage Testing [ 10201 ] Pending for Production Approval [ 10301 ]
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the fix on Production, working as expected. Closing the ticket.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the fix on Production, working as expected. Closing the ticket.
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Pending for Production Approval [ 10301 ] Approved for production [ 10034 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Production QA(10203)Level 1 values: In Testing(10218) Parent values: Production Complete(10222)Level 1 values: Closed(10223)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Approved for production [ 10034 ] Production Testing [ 10202 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Production Testing [ 10202 ] Production Complete [ 10028 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Production Complete [ 10028 ] Closed [ 6 ]
            Transition Time In Source Status Execution Times
            Rakesh Roy (Inactive) made transition -
            New Request Pending for Approval
            4d 21h 4m 1
            Rakesh Roy (Inactive) made transition -
            Pending for Approval Approved for Development
            2s 1
            Rakesh Roy (Inactive) made transition -
            Approved for Development In Development
            3s 1
            Rakesh Roy (Inactive) made transition -
            In Development In LB Testing
            2s 1
            Rakesh Roy (Inactive) made transition -
            In LB Testing Pending for Stage Approval
            3s 1
            Rakesh Roy (Inactive) made transition -
            Pending for Stage Approval Approved for Stage
            2s 1
            Rakesh Roy (Inactive) made transition -
            Approved for Stage Stage Testing
            3s 1
            Kunal Kedari (Inactive) made transition -
            Stage Testing Pending for Production Approval
            64d 2h 51m 1
            Kunal Kedari (Inactive) made transition -
            Pending for Production Approval Approved for production
            25s 1
            Kunal Kedari (Inactive) made transition -
            Approved for production In Production Testing
            8s 1
            Kunal Kedari (Inactive) made transition -
            In Production Testing Production Complete
            6s 1
            Kunal Kedari (Inactive) made transition -
            Production Complete Closed
            3s 1

              People

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

                Dates

                Created:
                Updated:
                Resolved: