Ravi Joshi | 20 May 2013 21:07
Picon
Favicon

Abnormal behavior of Grinder showing nothing in Process tab

Hi all,

I found an abnormal behavior with Grinder console. It is showing nothing in Process tab even agent is connected.

The agent is connected to console and it is showing below message in the terminal-
root <at> laptop:~# /opt/grinder_agent/bin/agent.sh
2013-05-20 21:37:06,100 INFO  agent: The Grinder 3.11
2013-05-20 21:37:06,275 INFO  agent: connected to console at /192.168.56.1:6372
2013-05-20 21:37:06,275 INFO  agent: waiting for console signal


At the same moment netstat -t is showing me the same info-
root <at> dell:~# netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp6    3843      0 192.168.56.1%32187:6372 192.168.56.101%15:37734 ESTABLISHED


but why http://localhost:6373/agents/status is returning [] ? Also there is nothing in Process tab in console.

The grinder version is 3.11
 
-Ravi Joshi
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Ravi Joshi | 19 May 2013 19:35
Picon
Favicon

java.lang.OutOfMemoryError with headless console

Hi,

I am running console in headless mode but each time I am starting it, it is showing me out of memory error.

root <at> dell:~# /opt/jdk1.7.0_01/jre/bin/java -classpath /opt/grinder_console/lib/grinder.jar net.grinder.Console -headless
2013-05-19 22:14:26,013 INFO  console: The Grinder 3.11
2013-05-19 22:14:26,115 INFO  org.eclipse.jetty.server.Server: jetty-7.6.1.v20120215
2013-05-19 22:14:26,221 INFO  org.eclipse.jetty.server.AbstractConnector: Started SelectChannelConnector <at> :6373
Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Arrays.java:2694)
    at java.lang.String.<init>(String.java:234)
    at java.lang.StringBuilder.toString(StringBuilder.java:405)
    at java.io.UnixFileSystem.resolve(UnixFileSystem.java:108)
    at java.io.File.<init>(File.java:341)
    at net.grinder.util.Directory.listContents(Directory.java:214)
    at net.grinder.console.distribution.FileDistributionImplementation.scanDistributionFiles(FileDistributionImplementation.java:206)
    at net.grinder.console.distribution.WireFileDistribution$1.run(WireFileDistribution.java:39)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)


-Ravi Joshi
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Michael Thomsen | 17 May 2013 01:33
Picon
Favicon

Unable to run test script to test secure iframe in secure page

Hello,

 

We are currently trying to test an application that loads a widget in a secure iframe on a secure page.  The problem that we are seeing is that grinder’s security certificate isn’t valid, so the widget doesn’t load returning an 301 Permanently Redirected error. 

 

I tested this another way by starting up the proxy recorder, specifying to record over https, which it can proceed through the https pages and record as expected, until it gets to the page that loads the widget in the secure iframe, then in chrome I get

 

Error 113 (net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH): 

 

In the test script’s properties for the JVM arguments I tried adding the trust store properties (after adding the key to the trust store via keytool):

-Djavax.net.ssl.trustStore=C:/Progra~1/Java/jdk1.6.0_07/jre/lib/security/cacerts -Djavax.net.ssl.trustStorePassword=changeit

 

However that didn’t seem to make a difference so I am currently out of ideas.  Has anyone else had any experience with this? Any workaround’s?

 

Thanks in advance,

Michael



 

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Marc Claeys | 14 May 2013 15:19
Picon

can't record ssl session

Hi all,

No matter what option I try I always get:

  def __call__(self):
     """Called for every run performed by the worker thread."""
     # Empty recording!
     pass

I specified the -ssl option (java net.grinder.TCPProxy -http -ssl  -console)
and added HTTPClient-JSSE.jar as first entry in the CLASSPATH.

The whole session works fine (https to a tomcat console) but nothing 
gets recorded.

Anyone to help me out?

regards.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
Ravi Joshi | 14 May 2013 08:24
Picon
Favicon

Sending Http req with diffrent-2 IP addresses from an agent

Hi all,

From two agents, I can send http request, which will be having diffrenet-2 IP address. The system (which is under test) will treat them as request from different machines. Simple and Okay J

Is there any way to achieve the same scenario (so that request looks like from different machines to the system)?

-

Thanks and regards

Ravi Joshi

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
mehdi yami | 13 May 2013 06:59
Picon
Favicon

exporting graph in grinder console

Hi,
I have download and used successfuly the grinder 3.11 for web load testing,
But the only thing that i want to do is to export the Total graph in the left 
bottom corner of grinder console..The Total graph panel is very small and it 
is unused completely now...
I am new to java programming so i dont know how can i start this...

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
O'Connor, David | 9 May 2013 14:59

HTTPRequest retry attempts

Hi,

 

I’m using grinder-3.4 for load testing. I’m using Test class wrap method to call HTTPRequest class GET method.

 

For particular tests, after connecting to the server and sending the request, the server fails to respond and closes the connection. It appears the HTTPRequest object reconnects to the server and resends the original request. The HTTPRequest object will re-attempt to obtain a response 2 times (3 attempts in total) before an Exception is raised.

 

 

09/05/13 10:02:44 (thread 0 run 15 test 1): Aborted run due to Java exception calling TestRunner

Java exception calling TestRunner

      response =  test.GET(URL).getText()

 

Caused by: HTTPClient.RetryException: Premature EOF encountered

      at HTTPClient.StreamDemultiplexor.retry_requests(StreamDemultiplexor.java:530)

      at HTTPClient.StreamDemultiplexor.close(StreamDemultiplexor.java:498)

      at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:369)

      at HTTPClient.RespInputStream.read(RespInputStream.java:155)

      at HTTPClient.Response.readResponseHeaders(Response.java:998)

      at HTTPClient.Response.getHeaders(Response.java:698)

      at HTTPClient.Response.getVersion(Response.java:290)

      at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3238)

      at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2882)

      at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2674)

      at HTTPClient.HTTPConnection.Get(HTTPConnection.java:985)

      at net.grinder.plugin.http.HTTPRequest$2.doRequest(HTTPRequest.java:509)

      at net.grinder.plugin.http.HTTPRequest$AbstractRequest.getHTTPResponse(HTTPRequest.java:1252)

      at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:504)

      at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:450)

      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)

      at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)

      at org.python.core.PyObject.__call__(PyObject.java:404)

      at org.python.core.PyObject.__call__(PyObject.java:408)

      at org.python.core.PyMethod.__call__(PyMethod.java:124)

      at

 

Is there any way to control the number of retries performed by HTTPRequest?  E.g. with HTTPPluginContol?

 

Many Thanks

David

 


This e-mail message is for the sole use of the intended recipient(s)and may
contain confidential and privileged information of Transaction Network Services.
Any unauthorised review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message

Transaction Network Services Limited
Registered in Ireland No.: 248837
Registered Office: Dunluce House, East Point, Dublin 3.
Directors: Fintan Byrne, M. Collins, M. Keegan (USA)
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Ravi Joshi | 6 May 2013 12:43
Picon
Favicon

How to know that Test is finished using Grinder REST services?

Hi all,
 
To know the available workers, I can get the count of worker array from the /agent/status service. And if the count is zero, that can solve my purpose. But there are two cases, in which worker array length is zero-
1.    Agents are connected but test is not started
2.    Agents are connected and the test is finished

Because of this ambiguity I am not able to know that whether test is finished or not.
 
How to know that Test is finished?
 
 
Thanks and regards
Ravi Joshi
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use
Jes | 24 Apr 2013 12:31
Picon

Which all file format can Grinder read?


--
View this message in context: http://grinder.996249.n3.nabble.com/Which-all-file-format-can-Grinder-read-tp8429.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Jes | 24 Apr 2013 12:29
Picon

Can Grinder read the response Json file?

Can Grinder tool could read the http response file if it is in Json format
and validate ?

--
View this message in context: http://grinder.996249.n3.nabble.com/Can-Grinder-read-the-response-Json-file-tp8428.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Jes | 22 Apr 2013 12:44
Picon

Create dummy database and Json file using Grinder

I need to use it as a Automation tool. So is it possible to create a dummy
database table using Grinder tool and create Json file from that as a
response of Http request using Grinder itself. 

--
View this message in context: http://grinder.996249.n3.nabble.com/Create-dummy-database-and-Json-file-using-Grinder-tp8427.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Gmane