Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Santhosh0505 opened this issue Apr 5, 2020 · 4 comments

Comments

@Santhosh0505
Copy link

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.

@upendra1588
Copy link

@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

@Santhosh0505
Copy link
Author

@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

@upendra1588
Copy link

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

@arpit-icreate
Copy link

@Santhosh0505 ,
Did you check below article?
microsoft/BotBuilder-V3#79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants