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
Ravi Joshi | 13 Dec 17:08 2012
Picon

grinder.duration=123 property is not working with Console

Recently to I wanted to run multiple Agents from Console for some duration but coudn't. The grinder.duration=123 property was not effective from Console.

Is this property only works with single Agents or do i need to do some modification in grinder.properties file?

-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 | 9 Dec 22:51 2012
Picon

Modifying logging mechanism

Can I modify logback-worker.xml file to generate new log file for ERROR only and ${PREFIX}.log file should contain no ERROR?

Which appender is useful and what about the rollingPolicy for the same?


-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
Tani | 5 Dec 18:52 2012
Picon

Failed to determine proxy destination.


C:\>java net.grinder.TCPProxy -console -http > "Program
Files\grinder-3.11\examples"\OOPReg.py
13:45:14.750 [main] INFO : Initialising as an HTTP/HTTPS proxy with the
parameters:
   Request filters:    HTTPRequestFilter
   Response filters:   HTTPResponseFilter
   Local address:      localhost:8001
13:45:15.015 [main] INFO : Engine initialised, listening on port 8001
13:45:30.171 [main] ERROR: Failed to determine proxy destination.
Client opened connection but sent no bytes.

13:45:35.546 [main] ERROR: Failed to determine proxy destination.
Client opened connection but sent no bytes.

13:45:40.921 [main] ERROR: Failed to determine proxy destination.
Client opened connection but sent no bytes.

13:45:46.281 [main] ERROR: Failed to determine proxy destination.
Client opened connection but sent no bytes.

13:47:13.984 [main] INFO : Engine exited

My firewall is turned off, my proxy in firefox 15 is set to 8001 for http,
it was working fine yesterday.  The scripts still get recorded but after a
minute or so it turns itself off, even though I haven't completed what I
want the script to record.

Thanks in advance
--

-- 
View this message in context: http://old.nabble.com/Failed-to-determine-proxy-destination.-tp34762971p34762971.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
DTouzet | 5 Dec 17:33 2012
Picon

[Gringer-3.4]Pb testing a webapp using digest authentication

Hi,

I face problems when trying to test my webapp using Digest authentication.
Tests script has been captured using the TCPProxy and adapted in order to deal with authentication (see below for code excerpt).

HTTP request (1) is OK .
HTTP request (2) (same as the first one) is OK.
HTTP request (3) returns a 401
=> Value of digest authentication field "nc" was back to "00000001" in this 3rd request, which, I assume, is not the expected value at this stage.

For information, tests are OK when the webapp is deployed and configured using the BASIC authentication scheme.
For this purpose, I only change :
AuthorizationInfo.addDigestAuthorization(Settings.host, Settings.nuPort, Settings.realm, Settings.usr, Settings.pwd, threadContextObject)
into :
AuthorizationInfo.addBasicAuthorization(Settings.host, Settings.nuPort, Settings.realm, Settings.usr, Settings.pwd, threadContextObject)

Any ideas ?

Regards,
David



from net.grinder.script import Test
from net.grinder.script.Grinder import grinder
from net.grinder.plugin.http import HTTPPluginControl, HTTPRequest
from HTTPClient import NVPair, AuthorizationInfo

connectionDefaults = HTTPPluginControl.getConnectionDefaults()
connectionDefaults.setUseAuthorizationModule(1)

...

  def __call__(self):
    """This method is called for every run performed by the worker thread."""
    threadContextObject = HTTPPluginControl.getThreadHTTPClientContext()
    #AuthorizationInfo.addDigestAuthorization(Settings.host, Settings.nuPort, Settings.realm, Settings.usr, Settings.pwd, threadContextObject) # BASIC authentication
    AuthorizationInfo.addBasicAuthorization(Settings.host, Settings.nuPort, Settings.realm, Settings.usr, Settings.pwd, threadContextObject) # DIGEST authentication
   
    self.page1()      # GET xxx.jsf (request 101)

    grinder.sleep(1591)
    self.page2()      # GET xxx.jsf (request 201)

    grinder.sleep(78)
    self.page3()      # GET yyy.jsf (request 301)
    ...
    (many more tests)

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