BotServiceStressToolkit icon indicating copy to clipboard operation
BotServiceStressToolkit copied to clipboard

Test results failed when the bot is taking a time delay for responding

Open Santhosh0505 opened this issue 4 years ago • 4 comments

I was able to hit the bot using this BotStressToolKit with Azure VM. And I have a scenario which I am unable to understand the cause of these kind of results, I have 7 thread groups configured, with each thread group containing One Conversation Update element and One Message Element in it. And each Thread group is configured as follows: image

I have a bot which is taking nearly 3 to 5 seconds to reply back, and I was unable to understand the results for that bot using the above configuration. So, I have used a echo bot deployed on azure. And tried to reoccur the same scenario. There the test results are as follows: image

This gave me 100 % success responses. Then I gave a Thread sleep time for 5000ms on Message activity in Echo bot. Then I have run the same test for this echo bot. There the results are as follows: image

This gave a error percentage.(This was the same case with the bot which I mentioned that the bot which I want to test was responding with 3 to 5 seconds delay, it also gave me the similar results.) And the error message for those error responses is also the same: image

I am confused, what is the cause of this error. Can you please explain what this error referring to, and please suggest me if I need to configure anything to overcome it.

Santhosh0505 avatar Apr 05 '20 17:04 Santhosh0505

@Santhosh0505 , could you please share steps, i am getting Internal server error while connecting from jmeter to Azure service while Bot is working file. I am able to run it with emulator but it is not working for webchat, directline and msteams channels. It would be better if you can suggest me how to run it for same.

Error

upendra1588 avatar Apr 24 '20 11:04 upendra1588

@upendra1588

I can see that you are addressing 2 issues in your question,

For Connecting a bot deployed in azure please follow this link. https://github.com/angie4u/bot-load-test

Santhosh0505 avatar Apr 25 '20 04:04 Santhosh0505

@Santhosh0505 Thanks you so much, it is very good article and get resolved my problem.

upendra1588 avatar Apr 27 '20 06:04 upendra1588

@Santhosh0505 , Did you check below article? https://github.com/microsoft/BotBuilder-V3/issues/79

arpit-icreate avatar Oct 15 '20 09:10 arpit-icreate