Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

loadTime ups and downs  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1054
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am building a class which reads a file and check the response time I got with JMeter, then it compares with the maximum time the admin of the web consisers excesive. For example if today I expect that my web will be requested by 1000 users in a check box in the front end I select 1000 users max waiting time for the requests 1 sec, the class check what is the situation after 1000 requests have been done and show a message with which action to take, for example "we advice you to add more memory"

The thing is that in my trace it looks like there are ups and dows in the response time, every second 50 users more request the web but sometimes the reponse time decrease and this makes me confused, (the response time in miliseconds is the secons row)


Also it looks like it is extremely slow since the very first request with only 50 users

Any advice, please?

Regards, Isaac
 
A.J. Côté
Ranch Hand
Posts: 417
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Load testing can be very confusing. You need to understand how your web server works really well and how to fine tune the configuration parameters of your server to figure out what is happening. Look at max client (max thread). Socket backlog etc...

Understanding how your test client works, how tcp works (OS tcp config parameters) and the different network components is important too.

Ups and downs are almost normal when doing load testing or at least I have seen them occurring in most cases.

Good luck!
 
Isaac Ferguson
Ranch Hand
Posts: 1054
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it looks like confusing at least I am going to get the time in milisecs and work with it.

For example, using regex how could I get the second row which matches the ms?




At the moment I have


When aLine is equal to
2015/09/23 00:06:47.863,4134,RequestAbouUs,200,OK,
and I want to get only 4134

Any idea, please?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!