Skip to main content

Hello Community,



I’m relatively new to the platform and could use some guidance on the most effective approach to conduct load and performance testing using the Box API.



My objective is to simulate substantial traffic from diverse users simultaneously, each with varying rights and permissions that need to be pre-configured. These users are expected to perform basic CRUD operations and execute various searches on the platform.



I am seeking advice on the appropriate method to implement such a scenario on the Box platform. Specifically, I would appreciate insights into the recommended box application type and any other pertinent details that could facilitate the successful execution of these tests.



Thank you in advance for your valuable assistance.

Ok this was easy



var boxConfig = new BoxConfigBuilder("client_id", "secret")

.SetEnterpriseId("2222222222")

.Build();



var boxCCG = new BoxCCGAuth(boxConfig);



var adminToken = await boxCCG.AdminTokenAsync();

var userclient = boxCCG.UserClient("123456789");

// Some api call as example

var myFile = await userclient.FilesManager.DownloadAsync("11111111111111");


Hi @dawid , welcome to the forum!



It seems you found the answer faster than we could respond, which I guess is a good thing.



However, we are here 😃 , so keep posting, and let us know if we can help in anyway.



Cheers


Reply