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

查看:114
本文介绍了用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应用程序?

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天全站免登陆