Performance testing using JMeter

2019-07-29 22:45发布

I am writing a test in JMeter for our web app, but there is one page that loads and then makes an Ajax call using extjs libraries to load an additional piece, and I need to know when that piece loads. How should I go about doing this? can JMeter support extjs libraries? What else do I need to know?

Searching the internet I've found some ajax and JMeter resources and a few extjs and JMeter sources, but I have yet to find all three in one place.

Thanks in advance!

1条回答
迷人小祖宗
2楼-- · 2019-07-29 23:27

JMeter's HTTP request works at HTTP protocol level. It knows nothing about your JS and ajax. However, it can send any http requests, including ajax one.

So you should look what requests sends browser when you do something involving Ext JS and create such requests in JMeter. To do it you can use HTTP Proxy Server or look in Firebug or similar thing in your browser.

Note: actually JMeter supports Javascript execution through BSF support (look e.g. at BSF Sampler). However, it will make your test slower so I think it will be better not to use it

查看更多
登录 后发表回答