使用 jmeter 进行 GWT 负载测试 [英] GWT load testing with jmeter

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

问题描述

我有一个 GWT 应用程序,想使用 jmeter 之类的工具测试负载和功能.我不确定 jmeter 是否是 GWT 的正确工具.任何人都可以指导我使用合适的工具,或者可以告诉我如何使用 jmeter 来做到这一点?

I have a GWT application and wanna to test load and functionality using a tool like jmeter. I am not sure jmeter is right tool for GWT. Can anybody direct me to proper tool or can tell me how to do it with jmeter?

我想测试登录功能:我在登录屏幕上有两个文本框用户名"和密码",我想测试有多少用户可以同时登录,往返服务器需要多少时间.不知道 jmeter 如何获取用户名"和密码"并提交它以针对 GWT 应用程序的 DB 进行验证?

I want to test login functionality: I have two text box 'User name' and 'Password' on login screen and want to test how many users can log in simultaneously, how much time a round trip to server it takes. Don't know how jmeter can get 'user name' and 'password' and can submit it to validate against DB for GWT application?

提前致谢.

推荐答案

我想这取决于您究竟想测试什么.如果您还想测试客户端代码,Selenium 之类的东西可能会更好.

I guess it depends what exactly you want to test. If you want to test the client-side code as well, something like Selenium might be better.

如果你只是想测试后端,你可以让 JMeter 通过 HttpClient 或类似的东西.您可以使用诸如 Fiddler 之类的调试代理来确定请求中需要包含哪些内容.

If you just want to test the back-end, though, you could have JMeter send it HTTP requests via HttpClient or something similar. You can determine what needs to go in the request using a debugging proxy such as Fiddler.

这篇关于使用 jmeter 进行 GWT 负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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