Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-7524

Slowness - When Placing Order on Sandbox PostCreateAutoSelectTemplate API takes ~ 1 min

    Details

    • Type: Sprint Defect
    • Status: Done (View Workflow)
    • Priority: Critical
    • Resolution: Completed
    • Affects Version/s: CFA 2020R1
    • Fix Version/s: None
    • Component/s: Ordering
    • Labels:

      Description

      Slowness When Placing Order on Sandbox

      When running Test Suites under the load it has seen that the API call(PostCreateAutoSelectTemplate) takes 1 min to respond when clicking on the Confirm button in the Add Order Dialog

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/Order/PostCreateAutoSelectTemplate?coverUntilDate=2019-12-20T06:00:00&deliveryDate=2019-12-19T06:00:00&vendorId=10

       

      Here are the API calls and their durations when clicking on Confirm Button:

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/ScheduledDeliveries/GetScheduledOrdersByDeliveryDate?deliveryDate=2019-12-19&vendorId=10    391 ms

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/Order/PostCreateAutoSelectTemplate?coverUntilDate=2019-12-20T06:00:00&deliveryDate=2019-12-19T06:00:00&vendorId=10    1 min

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/Orders/GetOrdersByRange?fromDate=2019-12-05T08:23:59&toDate=2019-12-19T08:23:59  984 ms

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/ScheduledOrders/GetScheduledOrders?fromDate=2019-12-19   4.36 s

      https://m-cfasbx.cfainformdev.net/Areas/Inventory/Order/Templates/OrderDetails.html  316 ms

      https://m-cfasbx.cfainformdev.net/Areas/Inventory/Order/Templates/CorrectOnHandModal.html  163 ms

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/Order/2315358/GetOrder  2.37 s

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/ScheduledOrders/GetScheduledOrders?fromDate=2019-12-19 8.54 s

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/Orders/GetOrdersByRange?fromDate=2019-12-05T08:24:00&toDate=2019-12-19T08:24:00  2.37 s

      https://m-cfasbx.cfainformdev.net/Administration/User/Api/UserSettings?userSetting=1  179 ms

      https://m-cfasbx.cfainformdev.net/Api/Inventory/Order/2315358/PutSuggestedStatus  2.26 s

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/Orders/GetOrdersByRange?fromDate=2019-12-05T08:24:06&toDate=2019-12-19T08:24:06  4.91 s

      https://m-cfasbx.cfainformdev.net/Api/Entity/8/Inventory/ScheduledOrders/GetScheduledOrders?fromDate=2019-12-19 2.96 s

       

       

       

       

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              caner.saritac Caner Saritac
              Reporter:
              caner.saritac Caner Saritac
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                0h
                Logged:
                Time Not Required
                Not Specified

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.