JMeter-Expert Blog Team

Wednesday, March 17, 2010 by Tushar Joshi
The JMeter-Expert Blog team is made up of following people:

Tushar Joshi
Tushar is a software architect, currently working with Persistent Systems, Nagpur as an Architect.  Tushar has interest in open source communities and currently leads the JUG Nagpur community.  Tushar is working in software design and architecture field since 1998.

Sujata Wagh
Sujata is a quality analyst, currently working with Persistent Systems, Nagpur as a QA Module Lead.  Sujata has interest in JMeter and testing tools.
Posted in | 34 Comments »

34 comments:

shirish said...

Hello Tushar and Sujata,

Thanks a lot for your posts which are helping a lot to me.

Thanks and Regards,
Shirish G.

Andy ! said...

Hi Tushar/Sujata ,
Thank you for such a wonderful article on JMeter.

I want to know how to record http request using JMeter. I have tried with workbench setting, but it doesn't works for me.

Regards,
Anand Kulkarni
QA|C-DAC|Pune.

Mohan Biradar said...

Hi Tushar/Sujata,

Such a nice explanation about all the Jmeter terminology helped me to learn the tool with ease.

Thanks a ton!!

Regards,
Mohan Biradar
QA

selva said...

Hi experts..Since I'm new to the Jmeter. I need some help regarding the usage of If controller...

My problem is...
I would like to do testing in web application, in that i need to execute some pages of that site in some particular condition only (like if user can execute that page in his 4th itertaion only). how to make this as possible.. by referring various site and jmeter site , I tried to use it by using "User parameter". But 'm not clear in it. so I need help in that.


Though it was so simple concept, New users as like me will get benifit, by this.

vegendra said...

Hi Tushar/Sujata ,

i have some problem while recording the webpages some fields are not recording.is there any way to write script manually for nonrecorded fields......and what minght be the reason for that.

Thanks in advance......

sushant said...

Hi Tushar/Sujata,

I have to monitor CPU usage and Memory usage during load test. Can I achieve this using JMeter?

Any help will be appreciable.
Thanks in advance.

Tushar Joshi said...

@Sushant,

You may want to look into the PerfMon plugin for JMeter http://code.google.com/p/jmeter-plugins/wiki/PerfMon Here

Tushar

Sagar said...

Hello Tushar and Sujata,

Please consider the following scenario:
Total users in system= 200
Concurrency=10%

We have to check concurrency for a particular action for eg. Login to portal. Currently have added Synchronizing Timer to Login step and have defined this value in the UDV.
Could you please suggest if this is the right approach or then we can handle the concurrency in any other way?

Thanks in advance.

Regards,
Sagar

tiger said...

Very Much Help Full site on JMeter

Jyo said...

Hi

I am trying to run update statement in jdbc request...Not working for me...

I am on jmeter 2.4


Jdbc config
jdbc request - run as Update statement - Below is the qry and it doesn't do anything -runs i am killing the test after some time..any ideas around this is appreciated.

update todo
set status_id = 1, datetime = sysdate, error_count = 0
where id in (1,2,3)

manisha said...

In 3 sec I gave 200 threads(Request) but in graph Results , i am getting LAtest sample 521 and graph shown in between 0ms to 477ms.

And for 1sec with 100 request m getting Latest sample 21099 and graph shown in between 0ms to 2001ms. What does it mean. Why the timing differ when i gave only 1sec

Unknown said...

Hi all,
For executing a Jmeter load test, I have set Manual HTTP Proxy in my Firefox browser.
Here is the setting:
HTTP Proxy: localhost and Port: 8080

Now, when I do any action in order to record my test through JMeter, I am seeing the below from my browser...

The proxy server is refusing connections

Firefox is configured to use a proxy server that is refusing connections.

* Check the proxy settings to make sure that they are correct.

* Contact your network administrator to make sure the proxy server is
working.


Can anyone help me what should be done in order to correct the above and record my test without any issues?

And Please let me know what is the importance of setting Manual HTTP Proxy when we perform JMeter Load testing?

Naresh vara said...

hi everyone,
I am using jmeter to test restfull webservices, by using Xpath extractor i m able to extract the xml response it works fine. But now i have a situation where there is an inner xml inside the root xml , the inner xml doesn`t have a end tag, becoz of which i m not able to extract the inner xml values using xpath extractor. please help me to get out of this situation. For more clarification i sending the xml code sample below:-
naresh
1


123
456




I need to read the first id value ie 123 from the innner xml . please let me know if xpath extractor will help or i need to use something else. As i am a newbie in jmeter i m not aware of all the fuctionalities. if possible please send me a working code to implement.


Thanks in advance,
naresh.

Naresh vara said...

hi everyone,
I am using jmeter to test restfull webservices, by using Xpath extractor i m able to extract the xml response it works fine. But now i have a situation where there is an inner xml inside the root xml , the inner xml doesn`t have a end tag, becoz of which i m not able to extract the inner xml values using xpath extractor. please help me to get out of this situation. For more clarification i sending the xml code sample below:-

naresh
1


123
456




I need to read the first id value ie 123 from the innner xml . please let me know if xpath extractor will help or i need to use something else. As i am a newbie in jmeter i m not aware of all the fuctionalities. if possible please send me a working code to implement.


Thanks in advance,
naresh.

mahesh said...

Hi i am new in Jmeter and i want to change the Jmeter Success properties i.e in Jmeter logs, if a sampler is success then it displays "True" and if error is there then it displayes "False".
I want to display "Pass" in place of "True" and "Fail" in place of "False". Can any one help me in this.
Thanks in Advance!

ZorZi said...

Hi!

Can I use Jmeter to teste application that use GEO?

Thanks

Haneef Shaik said...

Hi,

I'm having one task. We are having options to read and write the results to a file. What My problem is I need to get the URLs from an excel file and should load them in JMeter and run the script.

Can any one help me on this.?


Best Regards,
Haneef Shaik

Tushar Joshi said...

@Haneef

The best way to get answers quickly is to ask questions in JMeter users mailing list.

Please check if this answer [1] given on the mailing list help you to achieve your objective. You may need to save your file as CSV from the Excel which will be a trivial job

[1] http://jmeter.512774.n5.nabble.com/URL-file-as-JMeter-Input-td532940.html

with regards
Tushar

Haneef Shaik said...

@ Tushar

Thank you very much. Will ask question in the Mailing list.

Haneef Shaik said...

Hi Tushar,

I've raised a request in the mailing list but unfortunately I didn't get any response. Can you please have a look in my task: (below)

Task: I'm having 200 URLs in CSV file. I need to call each URL to JMeter with 1 second gap between each and then to repeat 1 times with a 10 minutes gap between runs.

Could you help me on this please, with steps(Or screen shots) I shoul follow..?

Thanks & Regards,
Haneef Shaik

sush said...

"Transaction rolled back because it has been marked as rollback-only" i am getting this error while doing multiuser creation through csv...can anyone help on this.

Thanks

anil76 said...

Hi Tushar/Sujata,

Good Evening !
Thanks for such blogs !
I am new to automation,downloaded JMeter and started website testing,Please advice me for below doubts
1)may i run 1000/2000 login tests on LIVE website ? or Local server ?
2)How to create CSV file to copy Resultos to or from file option.
3)What I exactly ?check/Note from results or summary report of Load testing ?


Anil M
Pune

sanjika said...

hello,
i am a student researching on jmeter tool and could use your help..
please can you give me the list of tools that support JMeter ( like netbeans) ?

expecting your answer :)

Tushar Joshi said...

@Sanjika,

The best way to get first hand help with JMeter is the users mailing list which can be found http://www.apache.org/foundation/mailinglists.html here.

This blog is maintained by us in our own time and hence we may not reply to your questions quick enough, instead the mailing list will have many users and developers associated with JMeter and you will get quick and to the point answers there.

Hopw this helps

with regards
Tushar

PankaJ said...

I have to test check performance of my application on following scenario
I have to generate load on Login module of application. I am having an application which have login module I have to check how application will response for multiple users login. How could I do this?
How could I pass username and password

Satya said...

Hi Tushar/Sujatha...

I am Newbie to Jmeter i would like to know how Jmeter can be used to test load performance for 500 users i have basic knowledge about how to add threads all other.. So Is anyone can helpme out.....

Unknown said...

Hi Tushar/Sujata

I am working at persistent systems.
if i want to add another sampler to jmeter...please tell me the reference sites to develop it...so that i can understand how to go step by step towards developing a sampler for jmeter.

Thanks

Tushar Joshi said...

@Unknown commenter,

If you work at Persistent Systems, you have the option of sending mails to us through Persistent mail address and also OCS for internal chat.

with regards
Tushar

Tweety Darling said...

Great site. The diagrams make it very easy to understand. you might want to convert this blog to a website

Rajeev Nair said...

Hi Tushar/Sujata,

Does Jmeter support performance testing of Liferay portal’s authenticated pages?

Currently "auth.token.check.enabled = TRUE" in portal-ext.properties file. Liferay uses Portal Authentication Token p_auth to prevent CSRF attack. This token is included in every action request in the portal by including the "p_auth" parameter in URL.

We are using Regular Expression Extractor to extract p_auth token. But while running we are getting 403 forbidden error.

We requested client to set auth.token.check.enabled as False, but the client want to test without changing the configurations. Is this possible or do we have any other solution. Kindly suggest

Regards

Rajeev
Regards

vinil narayan said...

Hello Team, I would like to ask a question...

i have a user 'a'... once I logged in again the same user cant login until its finished. so my concurrent user is 300... now I run, 1st user is getting in, but the second is not... bcz it already logged in.. what can i do for this..??

Tushar Joshi said...

@Vinil,

For quick and comprehensive answers to such questions the best place to send these questions is JMeter Users Mailing list. How to join the mailing list and other information is available at https://jmeter.apache.org/mail.html please join if you have not joined already.

I believe your problem needs user list and dynamic selection of a new user login per thread, check how to use a user list for your test plan in JMeter.

raj said...

I have developed the test plan with http requests. on test run there is no data displayed in the view results tree listener. But there is log generated during run. Kindly help on this how to view the results data.


016/05/19 13:49:07 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2016/05/19 13:49:07 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2016/05/19 13:49:07 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2016/05/19 13:49:07 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2016/05/19 13:49:07 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2016/05/19 13:49:07 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2016/05/19 13:49:07 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=true
2016/05/19 13:49:07 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2016/05/19 13:49:07 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2016/05/19 13:49:07 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2016/05/19 13:49:07 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl: readResponse: java.io.IOException: Server returned HTTP response code: 403 for URL: https://dev49.intacct.com/ia/tools/copy_cny.phtml
2016/05/19 13:49:07 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl: Cause: java.io.IOException: Server returned HTTP response code: 403 for URL: https://dev49.intacct.com/ia/tools/copy_cny.phtml
2016/05/19 13:49:07 INFO - jmeter.protocol.http.sampler.HTTPJavaImpl: Error Response Code: 403
2016/05/19 13:49:07 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2016/05/19 13:49:07 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2016/05/19 13:49:07 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2016/05/19 13:49:07 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)

Tushar Joshi said...

@raj

Please read my previous comment about JMeter Users Mailing list. This blog is really not the place to get answers to specific issues faced while testing. You will definitely get quick answers in the mailing list

Post a Comment