使用Jmeter加载网站使用IFRAME的网站测试
我已经使用Jmeter创建了一个在UAT环境中运行的过程的测试计划。用户旅程的一部分涉及使用iFrame的页面使用付款提供商提交付款。
iframe的付款提供商具有以下阶段:
- 输入付款详细信息(卡号,到期和CVV),
- 然后将用户提交给另一个IFRAME页面,该页面显示付款详细信息摘要
- 用户,然后单击付款按钮,并提交付款和订单ID是生成的,
如何使用Jmeter实现这些IFRAME请求?作为我解决方案探索的一部分,我使用 blazemeter ,但令人惊讶的是,它没有捕获任何一个与付款过程有关的iframe页面。
甚至可以使用Jmeter进行此操作,还是我应该探索其他可能的工具或解决方案?
I have created a test plan using Jmeter for a process that runs in my UAT environment. A part of the user journey involves hitting a page with an iframe to submit payment using a payment provider.
The payment provider from the iframe has following stages:
- Enter payment details (Card number, expiry and CVV) and submit
- User is then taken to another iframe page which shows the payment details summary
- User then clicks on payment button and payment is submitted and an order ID is generated
How do I implement these iframe requests using JMeter? As part of my solution exploration I have recorded the E2E flow using Blazemeter but surprisingly it does not capture any of the iframe pages relating to the payment process.
Is it even possible to do this using JMeter or should I explore some other possible tool or solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
按 jmeter项目主页:
您可能有成千上万的 iframes ,但如果他们不生成 http请求 - 什么都不会记录。
如果您确实相信“ BlazeMeter”(无论您是什么意思)都不会捕获应捕获的请求,那么您可以联系 blazemeter支持。
在此期间(s)测试脚本记录器,在这种情况下,您将拥有更多或多或少的完全控制,我们将能够提供帮助。
As per JMeter project main page:
You may have thousands of iframes but if they don't generate a HTTP request - nothing will be recorded.
If you do believe that "blazemeter" (whatever you mean by that) is not capturing the requests which it should be capturing - you can reach out to BlazeMeter Support.
In the meantime you can try recording the "E2E flow" (whatever you mean by that) using JMeter's HTTP(S) Test Script Recorder, in this case you will have more or less full control and we'll be able to help.