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
Ouray Viney | 11 Jan 13:13 2013
Picon

Fwd:

Adding the grinder community.

Have you read through the user guide?


Begin forwarded message:

hi sir i'm student, i'm interested to know grinder tool. i have some doubt in it. can agent run multi test parllely and can it genrate report separately? . if means how ?
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of 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_122812
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
rkrishnakumar312 | 11 Jan 08:25 2013
Picon

grinder test

hi,
 how to do multi test parallely in same machine in one agent

--
View this message in context: http://grinder.996249.n3.nabble.com/grinder-test-tp8193.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of 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_122812
Al | 10 Jan 01:23 2013
Picon

problems using testkeys

Hello everybody,

I am writing an app to do threat analysis of mobile apps, and would
like to intercept https traffic as part of the dynamic runtime
analysis. I have tried to set up TCPproxy to intercept SSL traffic,
but I haven't been able to intercept any traffic, as the handshake
never completes.

The most informative message I got was:

23:42:09.925 [Filter thread for localhost:37010->212.52.84.37:443]
ERROR: java.security.ProviderException:
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID

or

23:53:07.086 [Filter thread for localhost:37292->173.194.70.188:5228]
ERROR: Received fatal alert: protocol_version
javax.net.ssl.SSLException: Received fatal alert: protocol_version

I have tried using the testkeys from the latest JSSE samples package
(1.4.2), could this be the problem? This is the output when i try to
connect to google.com

01:21:08.210 [Filter thread for localhost:39290->173.194.35.145:443]
ERROR: Remote host closed connection during handshake
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:869)
~[na:1.6.0_24]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1190)
~[na:1.6.0_24]
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:805)
~[na:1.6.0_24]
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:94) ~[na:1.6.0_24]
	at net.grinder.tools.tcpproxy.AbstractTCPProxyEngine$FilteredStreamThread.interruptibleRun(AbstractTCPProxyEngine.java:431)
~[grinder-http-3.11.jar:na]
	at net.grinder.util.thread.InterruptibleRunnableAdapter.run(InterruptibleRunnableAdapter.java:58)
[grinder-core-3.11.jar:na]
	at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at sun.security.ssl.InputRecord.read(InputRecord.java:352) ~[na:1.6.0_24]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:850)
~[na:1.6.0_24]
	... 6 common frames omitted

I've tried it with burp proxy and i was able to intercept the traffic
so i guess it's feasible... any idea what I may be doing wrong? I
really need to use TCPproxy because i can script it.

Thanks in advance for any ideas
alessandro

------------------------------------------------------------------------------
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

Gmane