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
Rodolphe | 20 Dec 09:10 2012
Picon

Re: NTLM / Kerberos failed

Thanks for your fast answer.

This is exactly what I have done. I used wireshark to sniff the request.
The problem is when I use my brother and record the request, there is a
"Authorization: Negotiate" I dont know how to reproduce :

What happen is :

1 - first request 
GET /host/index.jsp HTTP/1.1
Host: portail.my.ch
Connection: keep-alive
Cache-Control: no-cache

2 - Response :
HTTP/1.1 401 Unauthorized
content-length: 1244
content-type: text/html
date: Tue, 18 Dec 2012 07:31:16 GMT
p3p: CP="NON CUR OTPi OUR NOR UNI"
www-authenticate: Negotiate
pragma: no-cache
cache-control: no-cache

3 - automatic forward :

GET /host/index.jsp HTTP/1.1
Host: portail.my.ch
Connection: keep-alive
Cache-Control: no-cache
Authorization: Negotiate YIIHc

This the third point I am facing :(

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

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Rodolphe | 20 Dec 08:51 2012
Picon

Re: NTLM / Kerberos failed

Thanks for your answer.

We are a big company and we have an Extranet. We are looking for a webload
tool.

I tried grinder :
- was ok for the TCPProxy
- but when I try to play again the agent, it fails on the webseal
authentification (kerberos).

So we cant use grinder ? Is there a sample to use grinder with Kerberos ?

Thanks for any help.

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

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Rodolphe | 19 Dec 17:13 2012
Picon

Re: NTLM / Kerberos failed

No suggestion ?

Thanks again for any help

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

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Jean Paul | 18 Dec 10:34 2012
Picon

Re: Welcome to the "grinder-use" mailing list

My email is deosuser-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Stéphane Thévoz | 17 Dec 16:28 2012
Picon

Console output files

Hello,

 

We cannot figure out how to get the out_*.log and data_*.log files (supposed to be generated by the console) that we need in the Hudson Grinder plug-in. We run the console without GUI (-headless).

 

We have one machine where the console runs and three machines where the agents run. The only log files we got are on the agents machine, the *-0-data.log and the

*-0.log. Everything works fine apart from the missing logs.

 

Could we please have some help?

 

Thanks, Stephane

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Ouray Viney | 14 Dec 04:29 2012
Picon

Grinder Error Handling

Hi All:


I would like to be able to control how far a script continues based on errors observed.  For example, a thread is seeing critical errors I would like to have the script exit, skipping the remaining steps i.e. the remainder of the run/iteration.  The reason for this requirement is simple; less bogus exceptions in the Grinder logs and server application logs.  Resulting in less time wasted finding real issues.

I have read the Grinder API docs and have experimented with the stopThisWorkerThread() method.  The only issue I have with the end result is that the failure statistics are dropped i.e they aren't recorded.  Though if required, one could calculate the failures based on the (total passes - total failures).

I would like to avoid having to wrap logic in the __call__ method with conditionals based on test results from previous tests as this just adds to the scripts maintenance requirements.  This is however a viable option, though I prefer the ability to call stopThisWorkThread().

Phil, what are your thoughts?  Am I using the correct API for my business requirement.  

Thanks,

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


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Ravi Joshi | 13 Dec 17:45 2012
Picon

Can i assign more than one thread for one session in Agents?

One of web application have notification process, which continues runs parallel to the application. This process is same as that of notification process in Facebook. This process doesn't make confiscations in user's activity. However if there is any new changes, it just shows an information about the same. In our application, this notification process waits for some amount of time, then dispatch all the notifications to user.

I recorded the entire scenario using TCPProxy and run it. After analyzing the log file, i got to know that entire application is waiting till the specific amount of time (defined for notifications) then executes further requests.

How can i assign a separated thread to this notification process, so that it can run in background without distributing the further requests?

Is there any property in grinder, which can solve my purpose?

-Ravi
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Ravi Joshi | 13 Dec 17:32 2012
Picon

TCPProxy is not recording correctly

I am using TCPProxy to record some scripts. However sometimes it is not creating the script properly.

Since token_isc_metaDataPrefix is not instantiated before, I am getting an error with the recorded script. Below is error snippet-

2-12-12 15:51:36,341 ERROR internal-0 thread-0 [ run-0 ]: aborted run - Jython exception, <type 'exceptions.AttributeError'>: TestRunner instance has no attribute 'token_isc_metaDataPrefix' [calling TestRunner]
net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.AttributeError'>: TestRunner instance has no attribute 'token_isc_metaDataPrefix'
        result = request4701.GET('/home/services/addFriend/sendReq' +
        File "/opt/grinderAgent/temp/../recordedScripts/sendRequest.py", line 1455, in page47
        self.page47()     # GET sendReq (request 4701)
        File "/opt/grinderAgent/temp/../recordedScripts/sendRequest.py", line 2292, in __call__
       
I am putting the recorded code corresponding to the above error    below-

  def page47(self):
    """GET sendReq (request 4701)."""
    self.token__operationType = \
      'fetch'
    self.token__startRow = \
      '0'
    self.token__endRow = \
      '75'
    self.token__textMatchStyle = \
      'exact'
    self.token__componentId = \
      'isc_JobMonitorGrid_0'
    result = request4701.GET('/home/services/addFriend/sendReq' +
      '?_operationType=' +
      self.token__operationType +
      '&_startRow=' +
      self.token__startRow +
      '&_endRow=' +
      self.token__endRow +
      '&_textMatchStyle=' +
      self.token__textMatchStyle +
      '&_componentId=' +
      self.token__componentId +
      '&_dataSource=' +
      self.token__dataSource +
      '&isc_metaDataPrefix=' +
      self.token_isc_metaDataPrefix +
      '&isc_dataFormat=' +
      self.token_isc_dataFormat, None,
      ( NVPair('If-Modified-Since', 'Thu, 01 Jan 1970 00:00:00 GMT'), ))

    return result


token_isc_metaDataPrefix is instantiated after this page in page48.

Why TCPProxy is not creating the script properly?

-Ravi
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Gmane