cancel
Showing results for 
Search instead for 
Did you mean: 

Random string in REST API request

Random string in REST API request

We are trying to do load testing using JMeter tool. Somehow the below API is not working. Can you please clarify how the random string ('38ad050a4cbaa4a13d4bf54466e8afa5') in it is getting generated. In case if we have to generate it ourselves using program, which method has to be called in Magento 2?

http://example.com/rest/default/V1/guest-carts/38ad050a4cbaa4a13d4bf54466e8afa5/estimate-shipping-methods

 

 --------
Give Kudos if it helped or if problem is solved Accept it as a solution

2 REPLIES

Re: Random string in REST API request

http://example.com/rest/default/V1/guest-carts/38ad050a4cbaa4a13d4bf54466e8afa5/estimate-shipping-methods

 

This random string mask_id "38ad050a4cbaa4a13d4bf54466e8afa5"  which is save in "quote_id_mask" table. You can get this mask_id from quote ID.

Hope It will help to solve problem then please Accept as Solution

 
 
 

Re: Random string in REST API request

 

http://example.com/rest/default/V1/guest-carts/38ad050a4cbaa4a13d4bf54466e8afa5/estimate-shipping-methods

This random string mask_id "38ad050a4cbaa4a13d4bf54466e8afa5"  which is save in "quote_id_mask" table. You can get this mask_id from quote ID.

Hope It will help to solve problem then please Accept as Solution