测试网站过载

发布于 2024-10-11 05:49:02 字数 177 浏览 3 评论 0原文

我有一个使用 SQL Server 的 Asp.net 网站。我想做一个网站过载测试,例如 http://loadimpact.com/ 如何自己执行此测试并查看我的网站性能?

我想查看最大用户数、即时流量、错误页面等。

I have an Asp.net website using SQL Server. I want to make a website overload test like http://loadimpact.com/ How can perform this test by myself and see my website performance?

I want to see max users, instant traffic, error pages etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

情痴 2024-10-18 05:49:02

您需要使用一个能够在您的网站上产生负载的工具。

这里是开放的列表源性能测试工具 - 我相信至少有一个能满足您的需求。

您确实需要记住,这可能会占用大量带宽,并且您必须确保您的站点和生成负载的计算机有足够的带宽。

You need to use a tool that will generate load on your website.

Here is a list of open source performance testing tools - I am sure at least one will fit your needs.

You do need to remember that this can take a lot of bandwidth and you have to ensure that your site and the machine/s generating the load have enough of it.

浮世清欢 2024-10-18 05:49:02

如果您想测试一下您的 Web 应用程序可以处理多少内容,我会查看 Apache JMeter。特别是查看用户手册。正如 Oded 提到的,您必须确保运行应用程序的计算机和运行 JMeter 的计算机之间有足够的带宽。

在许多情况下,在同一机架中放置一个并置的盒子将为您提供几乎无限的测试带宽。有时,您甚至可以在应用程序所在的同一台计算机上运行 JMeter,或者在同一物理硬件上的虚拟机上运行 JMeter。缺点是 JMeter 确实使用了一些资源,因此您无法确切知道您的应用程序可以处理多少资源,但它应该可以让您很好地了解在遇到麻烦之前预计有多少用户。

I would look at Apache JMeter if you want to test to see how much your web application can handle. In particular checkout the user manual. As Oded mentioned, you'll have to make sure you have enough bandwidth between the machine that is running the app and the machine that is running JMeter.

In many cases, getting a co-located box in the same rack will give you virtually unlimited bandwidth for testing. Sometimes you can even run JMeter on the same machine as your application or on a virtual machine on the same physical hardware. The downside is that JMeter does use some resources, so you won't know exactly how much your app can handle, but it should give you a pretty good idea of how many users to expect before running into trouble.

没︽人懂的悲伤 2024-10-18 05:49:02

您可以使用 Visual Studio 2010 Ultimate 和 Visual Studio Test Professional 2010 进行性能/压力测试,其中包括一个名为 Microsoft 测试管理器 可帮助您使用测试计划定义和管理测试工作。

一个好的开始是创建一个 LoadTestPlugin 在负载测试的各个点执行您想要的操作。

You can do performance/stress testing with Visual Studio 2010 Ultimate and Visual Studio Test Professional 2010 which include a new application called Microsoft Test Manager to help you define and manage your testing effort by using test plans.

A good start would be by creating a LoadTestPlugin to do what you want at various points in the load test.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文