JMeter:测试验证

发布于 2024-10-10 06:53:43 字数 370 浏览 0 评论 0原文

我需要创建执行以下操作的测试

  1. 通过向导填写一些内容 表单(提交每个表单)
  2. 从最后一页提取一些数据
  3. 使用提取的数据
  4. 向数据库发出 SQL 请求 根据请求结果测试是 符合“失败”或“成功”等
    (可以是简单的SQL查询
    SELECT count(id) from ... where ...)

如果有人有使用 JMeter 的经验并且可以告诉我

  • 可以使用 JMeter
  • 给我关于如何进行
  • 其他合适的性能测试的 主要提示,我将不胜感激如果使用 JMeter 不可能(或不容易)完成此任务,请使用工具

提前致谢

I need to create test which do the following

  1. Go through the wizard fill some
    forms (submitting each of them)
  2. Extract from the final page some data
  3. Using extracted data
  4. 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 技术交流群。

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

发布评论

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

评论(1

给不了的爱 2024-10-17 06:53:43

您可以在 JMeter 中执行此操作。

最简单的方法是记录填写向导,然后修改脚本。它看起来像这样:

线程组

  • HTTP 请求 - 填写表单

- 使用提取的数据后处理正则表达式来提取数据

  • SQL 请求

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

  • HTTP REQUEST - fill out form

-- Post Process Regular Expression to extract Data

  • SQL Request using extracted data

http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf

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