JMeter:测试验证
我需要创建执行以下操作的测试
- 通过向导填写一些内容 表单(提交每个表单)
- 从最后一页提取一些数据
- 使用提取的数据
- 向数据库发出 SQL 请求 根据请求结果测试是 符合“失败”或“成功”等
(可以是简单的SQL查询
SELECT count(id) from ... where ...)
如果有人有使用 JMeter 的经验并且可以告诉我
- 可以使用 JMeter
- 给我关于如何进行
- 其他合适的性能测试的 主要提示,我将不胜感激如果使用 JMeter 不可能(或不容易)完成此任务,请使用工具
提前致谢
I need to create test which do the following
- Go through the wizard fill some
forms (submitting each of them) - Extract from the final page some data
- Using extracted data
- make an SQL request to database
based on request result test is
qualified as FAILED or SUCCEEDED etc.
(it can be simple SQL query
SELECT count(id) from ... where ...)
I would appreciate if any body has an experience with JMeter and can tell me
- it is possible to do with JMeter
- give me main hints on how to do it
- about other suitable performance test tools for this task if this is not possible (or not easy) with JMeter
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 JMeter 中执行此操作。
最简单的方法是记录填写向导,然后修改脚本。它看起来像这样:
线程组
- 使用提取的数据后处理正则表达式来提取数据
http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf
You can do this in JMeter.
The easiest way is to record filling out the wizard and then modifying the script. It would look like this:
Thread Group
-- Post Process Regular Expression to extract Data
http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf