通过 JMeter 对 AJAX 调用进行性能测试 [英] Performance Testing of AJAX calls via JMeter

查看:22
本文介绍了通过 JMeter 对 AJAX 调用进行性能测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在对具有 AJAX 调用的应用程序进行性能测试.我能够记录相同的请求,但无法执行它们.任何人都可以帮我执行 AJAX 请求吗?

我需要为此使用任何额外的插件吗?如果是,它们是什么以及如何使用它们.

解决方案

这个对我们有用 - 我们只是在它下面直接放置了多个 HTTP Request 采样器:

图片说明:

<块引用>

这个控制器的所有直接子元素都将并行执行.

I am doing performance testing for an application that has AJAX calls. I am able to record the same requests but unable to execute them. Can anyone help me in execute the AJAX requests, please?

Do I need to use any extra plugin for this? If yes, what are they and how to I use them.

解决方案

This one worked for us - we just put multiple HTTP Request samplers directly under it:

https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/parallel/Parallel.md

From the link:

Note from image:

All direct child elements of this controller will be executed as parallel.

这篇关于通过 JMeter 对 AJAX 调用进行性能测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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