请求计数负载测试 [英] Request Count Load Test

查看:62
本文介绍了请求计数负载测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在运行一些负载测试,并确认负载测试报告的总请求数是准确的,并且它转换为API被击中的次数。

I have been running some load tests lately, and to confirm that the count for Total Requests reported by the Load Test is accurate and that it translates to the number of times the API was hit.

虽然这个数字接近,却有几个。

Although the number was close, it was of by a few.

实际点击次数:63712

Actual Hits: 63712

报告点击次数:61796

Reported Hits: 61796

这个数字是估计还是我应该预期相同的数量?我测试这个的方法是在每个请求中向SB插入一条消息。我的订阅中收到了更多消息。没有失败的请求,我没有重试逻辑。

Is the number an estimation or should I expect the same exact amount? The way I tested this is by inserting a message into SB for each request. I ended up with more messages in my subscription. There were no failed request and I have no retry logic.

谢谢,

基思。

推荐答案

嗨Keith,

Hi Keith,

你能分享一个屏幕吗?关于你在哪里看到请求号码?

Could you share a screen shot about where you see the requests number?

一个问题是某些请求是否发送到服务器,但是由于负载测试已经完成,所以请求没有得到响应来自服务器。 

One issue is that whether certain requests were send to the server, but since the load test is finished, so the requests don't get the response from the server. 

也许您可以在加载测试表结果中访问详细的Web测试请求。

Maybe you could visit the detailed web test request in load tests table result.

https://docs.microsoft .com / zh-CN / previous-versions / visualstudio / visual-studio-2013 / ms404656(v = vs.120) 

https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2013/ms404656(v=vs.120) 

最好的问候,

杰克





这篇关于请求计数负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆