SourceForge.net | 13 May 18:32
Picon

[ grinder-Feature Requests-3526344 ] Replace console client API with RESTful web service

Feature Requests item #3526344, was opened at 2012-05-13 09:32
Message generated for change (Tracker Item Submitted) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=368598&aid=3526344&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Console
Group: None
Status: Open
Priority: 7
Private: No
Submitted By: Philip Aston (philipa)
Assigned to: Philip Aston (philipa)
Summary: Replace console client API with RESTful web service

Initial Comment:
The functionality of the console client API would be better as a REST web service.

There's no reason for it to be stateful, and there's a world of REST-aware clients that could do useful
things with it.

Given the half-baked state of the client API, I plan to replace it completely. This will also allow the
communication layer to be simplified (e.g. remove then "keep alive" stuff I added recently for bug
#3521073; and the BlockingSender complexity), pathing the way for FR #3525230.

JSON would be a more sensible way to expose data to clients than building an object representation. This
would help feature #3523611.

(Continue reading)

Philip Aston | 11 May 18:17
Picon
Favicon
Gravatar

The Grinder 3.9.1: call for testing

I didn't release 3.9, due to bug 351793

Today I pushed The Grinder 3.9.1 to Nexus:

https://oss.sonatype.org/content/repositories/netsfgrinder-322/net/sf/grinder/grinder/3.9.1/grinder-3.9.1-binary.zip

3.9.1 Fixes:

  Fix bug 3517593 - Recording Jython script with 3.9 produced an
  invalid script. Thanks to greghmerrill and John Felten for the beta
  testing and report.

  Fix bug 3525156 - Better exception handling of invalid header arrays
  passed to HTTPRequest. Thanks to Ouray Viney for the report.

  Fix bug 3521073 - CLOSE_WAIT sockets on agent kill. Dead connections
  should now be cleaned up after 30 seconds. Thanks to Tumri for the
  report.

3.9 Fixes:

  Fix bug 3511553 - TCP proxy recorded scripts do not extract headers
  correctly, leaving a syntactically incorrect script.

  Fix bug 3511035 - 3.8 bundles additional, older version of xmlbeans.

  Fix bug 3511536 - Generated Clojure script uses logger API
  incorrectly. Thanks to Chris Bolton for the report. I also disabled
  the "offline debug" macros by default.

(Continue reading)

SourceForge.net | 11 May 07:36
Picon

[ grinder-Bugs-3525735 ] Missing summary of errors in the Console

Bugs item #3525735, was opened at 2012-05-10 22:36
Message generated for change (Tracker Item Submitted) made by oviney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3525735&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Console
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ouray Viney (oviney)
Assigned to: Nobody/Anonymous (nobody)
Summary: Missing summary of errors in the Console

Initial Comment:
I was testing out Grinder 3.8 and was using some script developed with Grinder 3.4.  One thing I noticed that
doesn't seem right is the aggregation of ERRORs in the console, both in the grid view and in the summary view
(left most summary box - Mean TPS, Mean Response Time, Total Tests etc.).

I will upload a screenshot later today, don't have access to the assets at the moment.

Note:  I tested this with Grinder 3.8 and 3.9 and a local build from 'git'.

Java version:  1.6.0_13-b03

----------------------------------------------------------------------
(Continue reading)

SourceForge.net | 11 May 07:29
Picon

[ grinder-Bugs-3525733 ] No clear errors logged with Grinder

Bugs item #3525733, was opened at 2012-05-10 22:29
Message generated for change (Tracker Item Submitted) made by oviney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3525733&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core engine
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ouray Viney (oviney)
Assigned to: Nobody/Anonymous (nobody)
Summary: No clear errors logged with Grinder

Initial Comment:
Hi All:

I ran into an odd issue today when testing a Grinder upgrade from version 3.4 to 3.8.  I performed the upgrade,
tested out a script.  During this process I noticed that the agent worker processor started up and then died
(CPU spiked and then dropped back to zero).  There were no results in the console and no trace of any
errors/exceptions in the logs.  So decided a good testing strategy was to roll back the Grinder version
until I got some logging about what was wrong.

Here is what was showing up in the logs with Grinder version 3.8:

2012-05-09 10:23:14,465 INFO  lingrndctl-0 : The Grinder version 3.8
(Continue reading)

SourceForge.net | 9 May 20:35
Picon

[ grinder-Feature Requests-3525230 ] Switch to a standard network library

Feature Requests item #3525230, was opened at 2012-05-09 11:35
Message generated for change (Tracker Item Submitted) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=368598&aid=3525230&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core engine
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Philip Aston (philipa)
Assigned to: Philip Aston (philipa)
Summary: Switch to a standard network library

Initial Comment:
As much of the communication package as possible should be replaced with a standard network library. This
should improve maintainability and provide more flexibility.

Key features required:
 - Client/Server networking over TCP.
 - Support for java serialisation.
 - Server side acceptor framework that manages connections and network events a scalable manner.
 - Reaping of stale connections.
 - Open source license.
 - Actively maintained.

Nice to have (if the base layer doesn't do it, we'll need to maintain the current implementation):
(Continue reading)

SourceForge.net | 9 May 18:17
Picon

[ grinder-Bugs-3525156 ] Null pointer exeception when posting multipart form data

Bugs item #3525156, was opened at 2012-05-09 09:17
Message generated for change (Tracker Item Submitted) made by oviney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3525156&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HTTP Plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ouray Viney (oviney)
Assigned to: Nobody/Anonymous (nobody)
Summary: Null pointer exeception when posting multipart form data

Initial Comment:
Upgraded my Grinder 3.4 to 3.8 and got the following exception:

2012-05-09 11:22:56,663 ERROR lingrndctl-0 thread-15 [ run-0 ]: Aborted run: Java exception calling TestRunner
net.grinder.scriptengine.jython.JythonScriptExecutionException: Java exception calling TestRunner
        result = getCommRateRequest.POST(self.URI, self.getCommRateXMLPayload,
        File
"/opt/home/testusr1/est/bdt1.1/bin/./lingrndctl-file-store/current/ca/innovapost/test/scenarios/tpoGetCommRate.py",
line 108, in getCommRate
        getCommRateResponse = self.getCommRate()
        File
"/opt/home/testusr1/est/bdt1.1/bin/./lingrndctl-file-store/current/ca/innovapost/test/scenarios/tpoGetCommRate.py",
(Continue reading)

SourceForge.net | 7 May 19:06
Picon

[ grinder-Bugs-3521073 ] CLOSE_WAIT sockets on agent kill

Bugs item #3521073, was opened at 2012-04-24 07:17
Message generated for change (Comment added) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3521073&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Console
Group: None
Status: Open
Resolution: None
>Priority: 3
Private: No
Submitted By: https://me.yahoo.com/a/epX1.5Ny ()
>Assigned to: Philip Aston (philipa)
Summary: CLOSE_WAIT sockets on agent kill

Initial Comment:
grinder console not closing the agent tcp connections when agent got killed. 

steps to reproduce: 
1) Start Console and Agent :  You can see 2 TCP ESTABLISHED  on netstat output 
2) Kill the agent:   ESTABLISHED TCP Connections changes to CLOSE_WAIT.  

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

>Comment By: Philip Aston (philipa)
Date: 2012-05-07 10:06

(Continue reading)

SourceForge.net | 7 May 17:09
Picon

[ grinder-Bugs-3524366 ] TCP Proxy 3.8 Invalid reference to defaultHeaders

Bugs item #3524366, was opened at 2012-05-07 08:09
Message generated for change (Tracker Item Submitted) made by oviney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3524366&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: TCPProxy
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ouray Viney (oviney)
Assigned to: Nobody/Anonymous (nobody)
Summary: TCP Proxy 3.8 Invalid reference to defaultHeaders

Initial Comment:
Here is what Grinder 3.8 generates:

connectionDefaults.defaultHeaders = \
  [ NVPair('Accept-Language', 'en-us,en;q=0.5'),
    NVPair('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'),
    NVPair('Accept-Encoding', 'gzip,deflate'),
    NVPair('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306
Firefox/3.6.28'), ]

And here is an invalid reference to that here:

(Continue reading)

SourceForge.net | 7 May 17:05
Picon

[ grinder-Bugs-3524364 ] TCPProxy 3.8 Creates incorrect code for large POSTs

Bugs item #3524364, was opened at 2012-05-07 08:05
Message generated for change (Tracker Item Submitted) made by oviney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3524364&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: TCPProxy
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ouray Viney (oviney)
Assigned to: Nobody/Anonymous (nobody)
Summary: TCPProxy 3.8 Creates incorrect code for large POSTs

Initial Comment:
Recorded a test with 3.8 and when I tried to execute the script
without making any changes, I got the following error (see snippet
below).

2012-02-15 17:28:32,493 ERROR v3500-vineyo-0 thread-0 [ run-0 ]:
Aborted run: Jython exception: <type 'exceptions.TypeError'>: POST():
4th arg can't be coerced to boolean [calling TestRunner]
net.grinder.scriptengine.jython.JythonScriptExecutionException: <type
'exceptions.TypeError'>: POST(): 4th arg can't be coerced to boolean
       result = request2001.POST('/some/path/to/something/create' +
       File "C:\workspace\ART\recordings\16058.py", line 480, in page20
(Continue reading)

SourceForge.net | 6 May 17:53
Picon

[ grinder-Bugs-3517593 ] recording script in 3.9 beta produced an invalid script

Bugs item #3517593, was opened at 2012-04-13 15:47
Message generated for change (Comment added) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3517593&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: TCPProxy
Group: None
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: greghmerrill ()
Assigned to: Philip Aston (philipa)
Summary: recording script in 3.9 beta produced an invalid script

Initial Comment:
The 3.9 TCPProxy does a much better job of creating valid scripts against HTTPS than 3.8.  However, it
generated a syntactically invalid script for me.  (See attached.)

The error is:

     [java] net.grinder.scriptengine.jython.JythonScriptExecutionException: <type
'exceptions.TypeError'>: createRequest() takes exactly 3 arguments (2 given)
     [java] 	request501 = createRequest(Test(501, 'POST signon.sso'), url1)
     [java] 	File "C:\views\sso_test\apps\SSOTest\.\wks-gmerrill2-file-store\current\script.py",
line 63, in <module>

(Continue reading)

SourceForge.net | 4 May 22:46
Picon

[ grinder-Feature Requests-3523611 ] CumulativeStatistics through Console Client API

Feature Requests item #3523611, was opened at 2012-05-04 13:46
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=368598&aid=3523611&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Console
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: https://me.yahoo.com/a/epX1.5Ny ()
Assigned to: Nobody/Anonymous (nobody)
Summary: CumulativeStatistics through Console Client API 

Initial Comment:
Current Console API supporting some of the basic functions like START agents, STOP agents, RESET agents.  
Exposing CumulativeStatistics through Console API is very much useful when we run grinder in headless
mode.  We can check the statistics  through some web interface. 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=368598&aid=3523611&group_id=18598

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
(Continue reading)


Gmane