Does Jmeter support url's with .action extension for Load testing
2 posters
Page 1 of 1
Does Jmeter support url's with .action extension for Load testing
Hi Friends,
I have been facing issues while trying to perform Load test on the url's with .action extension . Here is the scenario :
i have a url named login.action . now i am logging in into my application(through Jmeter) and recording the urls i have to hit which have .action as extension . When i run the test i observe in the results that all the urls that are getting hit are giving results of the page login.action and i could not get the response times of any of the required url's .
Please help on this !
I have been facing issues while trying to perform Load test on the url's with .action extension . Here is the scenario :
i have a url named login.action . now i am logging in into my application(through Jmeter) and recording the urls i have to hit which have .action as extension . When i run the test i observe in the results that all the urls that are getting hit are giving results of the page login.action and i could not get the response times of any of the required url's .
Please help on this !
qa.element- Posts : 2
Join date : 2013-11-08
Re: Does Jmeter support url's with .action extension for Load testing
.action extension basically stands for Java web application built with Apache Struts framework. JMeter works pretty well with any web application including struts ones. Looking into your question given all the requests hitting login.action I guess that your script is failing at login page and doesn't go further.
I suggest trying the following:
My expectation that you're missing something obvious, like cookies. View Results Tree listener allows inspecting request details including cookies and headers. You can try accessing your application under test i.e. via Firefox browser with "HttpFox" or "Firebug" extension enabled and look what headers are being sent to the server and do the same for JMeter requests. If you're missing cookies it worth trying to automatically fetching them via HTTP Cookie manager which works pretty good. Don't forget to set CookieManager.save.cookies=true property in jmeter.properties file as this property defaults to "false". jmeter.properties file lives under /bin folder of your JMeter installation.
Hope this helps,
Dmitri.
I suggest trying the following:
- Add "View Results Tree" listener to the end of your test
- Execute your test
- Open "Response Data" tab for login.action request and verify that it login page is displayed
- Open following request (which assumes to be logged in) and verify that login page is not displayed and HTML corresponds to page you're trying to test
My expectation that you're missing something obvious, like cookies. View Results Tree listener allows inspecting request details including cookies and headers. You can try accessing your application under test i.e. via Firefox browser with "HttpFox" or "Firebug" extension enabled and look what headers are being sent to the server and do the same for JMeter requests. If you're missing cookies it worth trying to automatically fetching them via HTTP Cookie manager which works pretty good. Don't forget to set CookieManager.save.cookies=true property in jmeter.properties file as this property defaults to "false". jmeter.properties file lives under /bin folder of your JMeter installation.
Hope this helps,
Dmitri.
glinius- Posts : 6
Join date : 2013-10-23
Re: Does Jmeter support url's with .action extension for Load testing
Hi Dmitri ,
Thanks for the reply as it did help me with the issue. it had something to do with the cookies so i have added a HTTP Cookie Manager .
Thanks for the reply as it did help me with the issue. it had something to do with the cookies so i have added a HTTP Cookie Manager .
qa.element- Posts : 2
Join date : 2013-11-08
Similar topics
» distributed load testing on aws with jmeter
» Load testing on WebLogic domain
» testing a single module using jmeter
» Performance testing of video upload and play back
» Need to convert hex to string in jmeter
» Load testing on WebLogic domain
» testing a single module using jmeter
» Performance testing of video upload and play back
» Need to convert hex to string in jmeter
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|