cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

BTs for REST calls

prashanth_karre
Newcomer

Hi,

  We are in a process of rolling out our new website which is all based on AngularJS frontend. All the Key functionality is based on Service based model running on different application. I have a requirement to capture response times and total count of the method calls and i cannot create a Measure / BTs for such URI request because URIs are dynamic in nature. For example ...

/xxxx /600668/categories

/xxxx/600668/categories/schedule

/xxxx/600668/products

If you notice in above URIs i have numeric value 600668 which will be changed dynamic depends on location from which the call is made so i cannot create Web Request Measure for such URIs.

What is the best way to handle this situation where URIs are dynamic  

5 REPLIES 5

dave_mauney
Dynatrace Champion
Dynatrace Champion

You can define measures that match just the relevant part of the URLs to define your BTs,

Example from a product page that is dynamic:  Product.png

HTH,

dave

prashanth_karre
Newcomer

All of the Website starts with XXXXX (Foundation-api) and under it there are multiple application .. for example ..

 

Menu-Services:
*****************

/foundation-api/600668/categories
/foundation-api/600668/categories/schedule
/foundation-api/600668/products
/foundation-api/product/scheduleandavailability/600668
/foundation-api/600668/products/combo
/foundation-api/600668/stockout
/foundation-api/messages/600668

/foundation-api/upsell/600668

 

Login:

/foundation-api/auth
/foundation-api/token
/foundation-api/users/4525324
/foundation-api/orders/customer/4525324
/foundation-api/users/4525324/favorites/cafes
/foundation-api/users/4525324/favorites
/foundation-api/users/4525324/phones
/foundation-api/users/4525324/preferences/email
/foundation-api/cafe/600668/hours/0
/foundation-api/rewards/4525324/503201227041

vlu
Guide

So is the numeric # (600668) assigned to a fixed location? Do you get a different # the next time you access the same location?

 

Have you tried changing the BT splitting option to no restriction or take the default restrict to 5000? Try this option and see what you get.

 

2015-04-14_12-28-24.png

prashanth_karre
Newcomer
#  value is dynamic and it will keep changing from the same location as well.

 

vlu
Guide

You can set to no restriction BUT be very careful. You will run into split explosion.