Patrick Killelea | 6 Feb 22:03 2013

Logging total latency

I'm kind of surprised that by default The Grinder does not give you the most important number: the total latency of an HTTP request.

Instead, you get these by default:
    Thread
    Run
    Test
    Start time (ms since Epoch)
    Test time
    Errors
    HTTP response code
    HTTP response length
    HTTP response errors
    Time to resolve host
    Time to establish connection
    Time to first byte
    New connections

How do I get total latency? Any advice appreciated. The Grinder's logging system is very obscure.

Patrick
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Tan | 6 Feb 20:53 2013
Picon

No Log/Data File

When running scripts my grinder does not create a log or data file, I have to
use the save results button to get any data exported.

I copied the directory from a  co-worker's computer that has it producing
these files and transferred it to my computer (under different directory
name and updated my PATH to point to the second directory).  After setting
the path and rebooting, using my co-worker's files still didn't produce the
log and data files.  Any ideas?

--
View this message in context: http://grinder.996249.n3.nabble.com/No-Log-Data-File-tp8253.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
Ouray Viney | 6 Feb 20:09 2013
Picon

Grinder REST Console Service and Remote Agents

Hi All,


What might be causing the WorkProcessors (child proc to the Agent) when running on a remote system to not correctly report back to the Console Service.  I am seeing the agents, but when I start the WorkProcessors the Console doesn't see them when I request status on the agents.  The call returns the status of the agents, but doesn't show any relevant information about the running WorkerProcessors.  I did validate the a child process did spawn.

Is there a particular Console setting/grinder.property that I need to set to allow the WorkProcessors (when running from a remote Grinder Agent) to communicate with the Grinder Console.

Environment details:
==================
- separate host for the console service
- 9 separate servers hosting two running agents
- When my test starts, two WorkerProcessors are invoked.

Other Details:
============
- I can see the WorkerProcess logs shows the test is running correctly.
- When I query the Console for  

--
Ouray Viney
http://www.viney.ca

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Shankar Ramanathan | 4 Feb 07:07 2013

Re: grinder-use Digest, Vol 81, Issue 1

<at> Gary Mulder

Yes that is correct & thanks for qualifying the info. Is there any other nifty way to achieve same?

Btw the 'date pattern' can be modified. Check documentation

Cheers,
Shankar

------------------------------

Message: 5
Date: Sun, 3 Feb 2013 17:50:16 +0000
From: Gary Mulder <flyingkiwiguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [Grinder-use] Way to add Time Stamp to Grinder Log Files
To: grinder-use <grinder-use-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Message-ID:
        <CAKy9zTAo84BO1fSr6jjng2s4+MEYJyeA=L-_KYfhgBw-jPeftQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

You mean: Log file names.

On 3 February 2013 17:44, Shankar Ramanathan <
shankar.ramanathan <at> globallogic.com> wrote:

> Hi Everyone,
>
> I thought info below might be useful for general consumption. Found a way
> to add time stamp to log files generated by Grinder process for better
> indexing
>
> Add timestamp & assign it to 'by second' key, in all 'fileNamePattern'
> property found in 'logback-worker.xml' file. Instruction are given in doc
> for generating this file before even it is modified. Strongly recommend gng
> through http://logback.qos.ch/manual/appenders.html
>
> <property name="PREFIX" value="${LOG_DIRECTORY}/${WORKER_NAME}" />
>   <timestamp key="bySecond" datePattern="MM:dd' Time = 'HH:mm:ss"/>
>
>
> <fileNamePattern>${PREFIX}-${bySecond}.log%i</fileNamePattern>
> <fileNamePattern>${PREFIX}-${bySecond}-data.log%i</fileNamePattern>
>
> Cheers,
> Shankar
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> grinder-use mailing list
> grinder-use <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan

------------------------------

_______________________________________________
grinder-use mailing list
grinder-use-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


End of grinder-use Digest, Vol 81, Issue 1
******************************************

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Shankar Ramanathan | 3 Feb 18:44 2013

Way to add Time Stamp to Grinder Log Files

Hi Everyone,


I thought info below might be useful for general consumption. Found a way to add time stamp to log files generated by Grinder process for better indexing

Add timestamp & assign it to 'by second' key, in all 'fileNamePattern' property found in 'logback-worker.xml' file. Instruction are given in doc for generating this file before even it is modified. Strongly recommend gng through http://logback.qos.ch/manual/appenders.html

<property name="PREFIX" value="${LOG_DIRECTORY}/${WORKER_NAME}" />
  <timestamp key="bySecond" datePattern="MM:dd' Time = 'HH:mm:ss"/>


<fileNamePattern>${PREFIX}-${bySecond}.log%i</fileNamePattern>
<fileNamePattern>${PREFIX}-${bySecond}-data.log%i</fileNamePattern>

Cheers,
Shankar
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Aris Green | 30 Jan 17:32 2013
Picon

Maven for just a purely Grinder based load testing project.

We used The Grinder last year for load testing, but in the
documentation, there is a remark in
http://grinder.sourceforge.net/download.html about how some users may
prefer to use Maven to manage The Grinder.  Seems nice, use Maven to
download the latest stable version from the Maven artifact
repositories.  Now, is advice in the docs just for Java projects using
Maven for the build and they just add a load testing portion in the
project that uses the Gridner?  How would you use Maven to style a
project that just did load testing but build no artifacts?  Maven
seems nice for its dependency resolution, but is it the right thing
for running a job that just does load testing and report results?  I
am wondering if we should just install The Grinder without Maven like
we did last year in a CentOS/Redhat type load testing environment and
forget about Maven.  I would appreciate it if someone could point me
in the right direction and give me a place to look for some examples
where Maven was used just to install The Grinder and maybe kick of
some load testing scripts.

Thank you,
Aris Green

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
grindertester | 27 Jan 13:13 2013
Picon

GWT request failed on server

Heloo,

I have recorded a script for GWT application, but it does not replay
correctly.

Script is the following (username and passowrd modified):

  def page9(self):
    """POST DataProviederServices (request 901)."""
    result = request901.POST('/admin/DataProviederServices',

'7|0|4|http://intra.is.vvd.gov.lv/admin/|A66FC386C3498BC9E8ED6E85AB720930|bi.gwt.fw.admin.client.services.DataProviederServices|getAdminUser|1|2|3|4|0|',
      ( NVPair('Content-Type', 'text/x-gwt-rpc; charset=utf-8'),
        httpUtilities.basicAuthorizationHeader('***\\***', '********'), ))

    return result

Server is responding to this with the following message:
The call failed on the server; see server log for details

In Fiddler I can see the following response (correct response):
//OK[0,0,-58,0,0,0,8,46,6,0,45,6,44,0,0,0,0,0,8,43,6,23,0,0,0,0,0,8,42,6,0,0,4,3,0,0,0,8,41,6,0,40,39,-5,1489649854

Any suggestions how to deal with this problem?

Best Regards,

Rolands

--
View this message in context: http://grinder.996249.n3.nabble.com/GWT-request-failed-on-server-tp8227.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
Rob Schroder | 24 Jan 20:44 2013

Thrift Protocol

Does the Grinder have a client for the thrift protocol, or is that something that needs to be custom written?
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
Philip Aston | 21 Jan 08:11 2013
Picon

Re: grinder test

If you read that, its wrong.

The agent makes connections to the console. Only the console port is "well known". Agent ports are ephemeral, and allocated by your operating system.

- Phil


On 21/01/13 04:09, Krishna Kumar wrote:

Thanks for Responses. When we start multiple terminal window to start multiple agent , it gets combined at the time of running.
i read that there is possibility of running multiple agent by using different port number.  how to change agent port number? 

On 19 January 2013 22:34, Philip Aston <philipa-O5WfVfzUwx8@public.gmane.org> wrote:
On 18/01/13 10:22, Krishna Kumar wrote:
There is little reason to run more than one agent on a single machine, but you can if you wish.


 how is it possiable?

Start several agent processes. For example, you can open multiple terminal windows, and run the "java  net.grinder.Grinder ..." command in each window.

- Phil




--
regards
Krishna

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
anil_jacob | 20 Jan 20:24 2013
Picon
Picon

Datalog file delay

I noticed that using Grinder 3.10 the datalog file starts getting populated only after a minute or more after the test starts running. Using previous version like 3.4 this was not the case, offcourse logging has changed.
Has anyone else experienced this, is there a setting in the logging xml files?

Thanks
Anil
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Gary Mulder | 17 Jan 18:12 2013
Picon

Shared data structures and parallel script execution in Grinder

Hi all,


I'm reaching the limit of my Jython multi-threaded programming understanding and need some guidelines on how to create and share a large Dict data structure across all of my Grinder threads.

My test suite uses a script dispatcher similar to the following Grinder sample:


I also have an import called db.py that defines a global Dict that I want to share access to across all Grinder threads. If I import db.py in each of TestScript1.py, TestScript2.py, and TestScript3.py, am I creating an unqiue instance of the Dict per thread, or do all imports of db.py refer to a single shared Dict?

Regards,
Gary
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Gmane