grinder-use Mailing List for The Grinder
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(17) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(24) |
Feb
(15) |
Mar
(12) |
Apr
(10) |
May
(4) |
Jun
(15) |
Jul
(34) |
Aug
(27) |
Sep
(18) |
Oct
(33) |
Nov
(48) |
Dec
(40) |
2003 |
Jan
(33) |
Feb
(89) |
Mar
(41) |
Apr
(92) |
May
(75) |
Jun
(21) |
Jul
(55) |
Aug
(76) |
Sep
(49) |
Oct
(56) |
Nov
(58) |
Dec
(76) |
2004 |
Jan
(88) |
Feb
(47) |
Mar
(72) |
Apr
(69) |
May
(84) |
Jun
(70) |
Jul
(142) |
Aug
(105) |
Sep
(70) |
Oct
(74) |
Nov
(61) |
Dec
(82) |
2005 |
Jan
(80) |
Feb
(89) |
Mar
(127) |
Apr
(98) |
May
(92) |
Jun
(107) |
Jul
(89) |
Aug
(126) |
Sep
(53) |
Oct
(50) |
Nov
(82) |
Dec
(63) |
2006 |
Jan
(159) |
Feb
(65) |
Mar
(143) |
Apr
(122) |
May
(128) |
Jun
(68) |
Jul
(67) |
Aug
(12) |
Sep
(63) |
Oct
(59) |
Nov
(173) |
Dec
(113) |
2007 |
Jan
(129) |
Feb
(121) |
Mar
(98) |
Apr
(50) |
May
(66) |
Jun
(64) |
Jul
(36) |
Aug
(37) |
Sep
(32) |
Oct
(79) |
Nov
(116) |
Dec
(72) |
2008 |
Jan
(74) |
Feb
(111) |
Mar
(70) |
Apr
(32) |
May
(33) |
Jun
(89) |
Jul
(86) |
Aug
(27) |
Sep
(152) |
Oct
(166) |
Nov
(85) |
Dec
(123) |
2009 |
Jan
(68) |
Feb
(143) |
Mar
(195) |
Apr
(166) |
May
(131) |
Jun
(36) |
Jul
(46) |
Aug
(58) |
Sep
(56) |
Oct
(26) |
Nov
(63) |
Dec
(85) |
2010 |
Jan
(57) |
Feb
(97) |
Mar
(52) |
Apr
(87) |
May
(100) |
Jun
(28) |
Jul
(68) |
Aug
(22) |
Sep
(42) |
Oct
(41) |
Nov
(19) |
Dec
(70) |
2011 |
Jan
(63) |
Feb
(56) |
Mar
(46) |
Apr
(52) |
May
(51) |
Jun
(58) |
Jul
(73) |
Aug
(67) |
Sep
(54) |
Oct
(55) |
Nov
(81) |
Dec
(50) |
2012 |
Jan
(89) |
Feb
(71) |
Mar
(57) |
Apr
(32) |
May
(27) |
Jun
(79) |
Jul
(39) |
Aug
(41) |
Sep
(83) |
Oct
(105) |
Nov
(77) |
Dec
(40) |
2013 |
Jan
(51) |
Feb
(96) |
Mar
(48) |
Apr
(28) |
May
(36) |
Jun
(16) |
Jul
(28) |
Aug
(34) |
Sep
(41) |
Oct
(57) |
Nov
(40) |
Dec
(20) |
2014 |
Jan
(16) |
Feb
(21) |
Mar
(14) |
Apr
(11) |
May
(35) |
Jun
(9) |
Jul
(23) |
Aug
(18) |
Sep
(24) |
Oct
(5) |
Nov
(32) |
Dec
(10) |
2015 |
Jan
(1) |
Feb
(12) |
Mar
(25) |
Apr
(41) |
May
(7) |
Jun
(14) |
Jul
(10) |
Aug
(2) |
Sep
(32) |
Oct
(24) |
Nov
(13) |
Dec
(6) |
2016 |
Jan
(2) |
Feb
|
Mar
(17) |
Apr
(12) |
May
|
Jun
(3) |
Jul
|
Aug
(10) |
Sep
(17) |
Oct
(2) |
Nov
(7) |
Dec
(5) |
2017 |
Jan
(3) |
Feb
(9) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Philip A. <ph...@ma...> - 2020-02-23 17:59:32
|
See the BarrierGroup javadoc for the invariant enforced by this assertion. On 20/02/2020 08:54, das888 wrote: > As per code snippet: > @Override public void addWaiter(BarrierIdentity barrierIdentity) > throws CommunicationException { > > synchronized (this) { > checkValid(); > > if (m_barriers == 0) { > throw new IllegalStateException("Can't add waiter, no barriers"); > } > > if (m_waiters.size() >= m_barriers) { > throw new AssertionError(toString()); > } > > m_waiters.add(barrierIdentity); > } > } > when number of total waiting threads reached to the barriers it throws > assertion error. > ------------------------------------------------------------------------ |
From: das888 <ami...@gm...> - 2020-02-20 08:54:22
|
As per code snippet: when number of total waiting threads reached to the barriers it throws assertion error. -- Sent from: http://grinder.996249.n3.nabble.com/Grinder-User-f3.html |
From: das888 <ami...@gm...> - 2020-02-04 05:33:56
|
Hi All, While post processing Grinder recorded script we generally follows below process: 1. Renaming request description 2. Numbering requests call 3. Merging functions etc. To automate mentioned process I have created Jython script @ https://github.com/DAS4U/RefactorGrinderScript Please have a look. Currently I am working to auto-correlation support for Grinder recorded script. Will keep posted on same.:) -- Sent from: http://grinder.996249.n3.nabble.com/Grinder-User-f3.html |
From: das888 <ami...@gm...> - 2019-09-26 07:21:00
|
Please explore : https://github.com/postrational/har2grinder/ -- Sent from: http://grinder.996249.n3.nabble.com/Grinder-User-f3.html |
From: das888 <ami...@gm...> - 2019-09-26 06:51:38
|
I was also looking for similar functionality however no option or flag is provided by Grinder as of now. You should try following things: 1) Add EchoFilter option while recording script using Grinder proxy It will return you HTTP request and HTTP responses in grinder.py 2) Write custom code to traverse request and response to mark & dump JSON output of that. -- Sent from: http://grinder.996249.n3.nabble.com/Grinder-User-f3.html |
From: Tom J. <t....@co...> - 2018-06-21 14:55:26
|
Unable to show full message. Click here https://www.google.com/url?q=https%3A%2F%2Fbit.ly%2F2losEfv&sa=D&sntz=1&usg=AFQjCNEVJXAlQUzOgP4fFcESU0rJ-vCMdw to continue! Browser error code: ds3x9 |
From: Cadogan, T. <Tin...@nt...> - 2017-12-13 13:34:36
|
Dell - Internal Use - Confidential Hi, In my Grinder python script I have :- import yaml This gives this error when I try to run it :- File "C:\Users\tina_cadogan\Downloads\grinder-3.11-binary\grinder-3.11\examples\HalF1AddAcc.py", line 22, in <module> 2017-12-13 13:23:38,099 INFO agent: worker 819804XF2-8 started 2017-12-13 13:23:40,866 ERROR 819804XF2-8: aborting process - Jython exception, <type 'exceptions.ImportError'>: No module named yaml [initialising test script] net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.ImportError'>: No module named yaml import yaml How do I use YAML with Grinder? Is there a YAML library it uses which I need to add the CLASSPATH? Best Regards, Tina Cadogan | Software Development Test Engineer. tin...@nt...<mailto:tin...@nt...> | m. +353.(0)87.628.6082 | nttdataservices.com<http://www.nttdataservices.com/> NTT DATA Services Ireland Limited Consulting | Industry Solutions | Digital | Application & Infrastructure Services | Cloud | BPO Learn more: [cid:image002.jpg@01D29660.3BDAFD80]<https://www.nttdataservices.com/> [cid:image013.jpg@01D29660.3BDAFD80]<https://www.linkedin.com/company/2494361> [cid:image015.jpg@01D29660.3BDAFD80]<https://twitter.com/NTTDATAInc> [cid:image016.jpg@01D29660.3BDAFD80]<https://www.facebook.com/NTTDATAAmericas> [cid:image017.jpg@01D29660.3BDAFD80]<https://www.youtube.com/NTTDATAInc> ______________________________________________________________________ Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding. |
From: Yim, S. <Sab...@le...> - 2017-11-28 20:23:52
|
Hello, I am using the instructions from http://www.aws-il.com/load-testing/grinder/ to get a distributed load test of a server up and running using a CloudFormation stack of console/agents. Within these instructions, I can set DesiredLoad parameter (tests/sec) in the CloudFormation template with the load I'd like to reach. I've been trying to run my test with just one agent and periodically set the DesiredLoad with increasing values at certain intervals to get a sense for how the response time changes depending on the load, and at what load the response time starts to increase. Ex. Start with DesiredLoad = 100, from there DesiredLoad += 100 every 10 minutes. (I have a bash script to take care of updating DesiredLoad and the stack) However, every time I create the stack, a number of things happen that confuse me: - The CloudWatch alarm used to monitor the stack begins in the INSUFFICIENT_DATA state - Eventually it changes to the OK state, and the TotalPeakTPS metric starts at ~300-400 (exceeding the DesiredLoad I'd set by quite a bit) I'm not sure why the TotalPeakTPS begins much higher than the DesiredLoad I'd set. What exactly does Grinder in the console/agents do to work towards the DesiredLoad? Is there a way I can ensure the console/agents maintain a load close to the DesiredLoad, and have it update accordingly when I update the stack? Any ideas or advice? Thanks! |
From: Yim, S. <Sab...@le...> - 2017-11-21 13:59:50
|
Hello. I'd like to make a Grinder test that directly grabs files from S3, but I'm not sure how to go about importing AWS for my test script. My import statement is "import com.amazonaws.services.s3 as s3". I have used aws as a dependency for other projects, so I added the jar from ".m2\repository\com\amazonaws\aws-java-sdk\1.11.221\aws-java-sdk-1.11.21.jar" to my classpath. But I'm still getting the error "No module named amazonaws". Is there a better way to get AWS Java SDK or just Amazon AWS in general working with the Grinder/Jython test scripts? I've tried importing boto3 after doing "pip install boto3", but I still got the same error that there was no module named boto3. I'm using a Windows computer, but am using a Git Bash terminal to run Grinder and other commands. Thank you for your assistance! |
From: Meena R. <mee...@ya...> - 2017-09-01 20:37:06
|
Hi All, I am using Grinder-3.11. I have a requirement on grinder , I am trying to download the small video file. when I do the HTTP GET on the file with load test of 100 connections , I am seeing memory exhaustion. File size is around 300MB. Is there any solution or feature implementation for this on Grinder? how can I make the grinder to discard the Payload but I need statistics of payload. I Understand from this thread that if I add " request1.readResponseBody = False". , it is discarding the response body but no statistics for the response as it's not downloading any file. Please help me with suggestions. I want to grinder to read the HTTP Response Data but not to keep it in memory. here is my sample code: test1 = Test(1, "Request resource") request1 = HTTPRequest() test1.record(request1) class TestRunner: def __call__(self): result1 = request1.GET("http://deployment.com/cbr?mpd=http://deployment1/KronSd/m18_mod.mpd") |
From: Amaury D. <ama...@er...> - 2017-05-05 15:09:05
|
Gary Mulder <fly...@gm...> wrote: > On 5 May 2017 at 08:02, Amaury Denoyelle <ama...@er...> wrote: > > > > Do you have any idea of the cause of the problem ? Is 10,000 threads > > waiting on one barrier a little bit overkill ? > > > I can't speak about your barrier exception, but I can say that 5000 threads > per server is quite a large number for the JVM to manage. With reasonably > simple test code I usually have a rule of thumb of no more than 100 threads > per core with random sleeps between HTTP requests. This would imply a 50 > core server for 5000 concurrent threads. > > However you may have a bigger problem if a many of those 5000 threads are > being synchronised at a barrier. You say that the threads aren't > synchronised, but with that number of threads the Linux scheduler is likely > being hammered as many threads become ready to run at the same time. A 16 > core hyper-threaded server has 32 hyper-cores, so the Linux scheduler can > physically only concurrently schedule 32 threads. If you're using Windows > the problem is likely worse as the Linux scheduler is a lot more > lightweight than the Windows scheduler. > > Finally, keep an eye on your JVM Garbage Collection. With some many threads > creating objects your GC is likely running quite hot. > > In all, you will be fighting a lot with your test execution performance and > need to prove to yourself that it isn't the primary bottleneck, otherwise > your test time will reflect the performance of your test harness and not > system under test. Thank you for your quick answer. I currently use two agents, with 16 cores on each. You are maybe right on the fact that it is too much for the system, but I really need 10,000 threads. I will maybe try to add more agents, but I do not have countless of these servers. That being said, I find that the tests on the agents are accurate. I do not measure precise timer, but just check some basic conditions and all 10,000 tests are finely executed. All agents are doing their works fine. The problem I encounter is on the console, on a dedicated host without other processes so that confuses me a little. -- Amaury Denoyelle |
From: Gary M. <fly...@gm...> - 2017-05-05 08:29:58
|
On 5 May 2017 at 08:02, Amaury Denoyelle <ama...@er...> wrote: > > Do you have any idea of the cause of the problem ? Is 10,000 threads > waiting on one barrier a little bit overkill ? > I can't speak about your barrier exception, but I can say that 5000 threads per server is quite a large number for the JVM to manage. With reasonably simple test code I usually have a rule of thumb of no more than 100 threads per core with random sleeps between HTTP requests. This would imply a 50 core server for 5000 concurrent threads. However you may have a bigger problem if a many of those 5000 threads are being synchronised at a barrier. You say that the threads aren't synchronised, but with that number of threads the Linux scheduler is likely being hammered as many threads become ready to run at the same time. A 16 core hyper-threaded server has 32 hyper-cores, so the Linux scheduler can physically only concurrently schedule 32 threads. If you're using Windows the problem is likely worse as the Linux scheduler is a lot more lightweight than the Windows scheduler. Finally, keep an eye on your JVM Garbage Collection. With some many threads creating objects your GC is likely running quite hot. In all, you will be fighting a lot with your test execution performance and need to prove to yourself that it isn't the primary bottleneck, otherwise your test time will reflect the performance of your test harness and not system under test. Regards, Gary |
From: Amaury D. <ama...@er...> - 2017-05-05 07:01:45
|
Hello everyone, I'm using The Grinder 3.11 for load test. My configuration is : - The Grinder console on one host - 2 agents on two separate hosts, each running 10 processes / 500 threads So, the total of threads running is 10,000. During scenario, each threads are synchronised over the same barrier (not at the same time, each thread calls time.sleep(threadNumber) before waiting on the barrier). But randomly during test execution, a Java exception is thrown from the console, probably when some threads call barrier.await(). Output of the console (BarrierIdentity is truncated, as it shows 411 strings): Exception in thread "main" java.lang.AssertionError: (411 [BarrierIdentity[Process 'ibmblade01-4' [ibmblade01-4:411631404|1493911201434|2103114530:5], 1134], BarrierIdentity[Process 'ibmblade01-4' [ibmblade01-4:411631404|1493911201434|2103114530:5], 1375] [...] at net.grinder.synchronisation.AbstractBarrierGroups$BarrierGroupImplementation.addWaiter(AbstractBarrierGroups.java:221) at net.grinder.console.synchronisation.ProcessBarrierGroups$1.addWaiter(ProcessBarrierGroups.java:87) at net.grinder.console.synchronisation.WireDistributedBarriers$3.handle(WireDistributedBarriers.java:100) at net.grinder.console.synchronisation.WireDistributedBarriers$3.handle(WireDistributedBarriers.java:96) at net.grinder.communication.MessageDispatchSender.send(MessageDispatchSender.java:116) at net.grinder.console.communication.ConsoleCommunicationImplementation.processOneMessage(ConsoleCommunicationImplementation.java:287) at net.grinder.console.ConsoleFoundation.run(ConsoleFoundation.java:226) at net.grinder.Console.run(Console.java:69) at net.grinder.Console.main(Console.java:86) Looking at the code where the exception is thrown, it seems that m_barriers and m_waiters.size() are equal (411) (synchronisation/AbstractBarrierGroups.java). The barrier is used properly as described in documentation. It is defined in __init__ function and await used in __call__. All threads are started at the same time, and none are cancelled prematurely. Do you have any idea of the cause of the problem ? Is 10,000 threads waiting on one barrier a little bit overkill ? Thank you for your help, -- Amaury Denoyelle |
From: Priyanka T. <pri...@gm...> - 2017-02-17 10:38:21
|
Hi , I am currently testing a JAVA RMI application which is basically a product by external company. Due to this I can not access the code of the application both for client and server side. We just have the client side .BAT file which helps in invoking the application front end. Along with BAT file , there is clientboot.jar file present. We do not have any more information with us and can not get more than that. Could you please suggest something with these constrains if Grinder can help. Thanks |
From: Priyanka T. <pri...@gm...> - 2017-02-16 22:34:15
|
Hi, Client application consists of ".bat" file which helps in launching the User console. Along with BAT file , there is clientboot.jar file present. We do not have any more information with us and can not get more than that. Could you please suggest something with these constrains if Grinder can help. Thanks On Thu, Feb 16, 2017 at 9:13 PM, Joel Lucuik <joe...@gm...> wrote: > Hi Priyanka, > > You can't record RMI calls in the grinder. Suggest you write all the java > calls via jython scripts. > > Ask the developer of the client app to provide those info about how to > instrument else The grinder can't help. > > Hope that helps, > > Joel > > > On Feb 16, 2017 1:20 PM, "Gary Mulder" <fly...@gm...> wrote: > > Hi Priyanka, > > There is reference in the Grinder docs: > > The Grinder can be used to test RPC and MOM based systems using protocols > such as IIOP, RMI/IIOP, RMI/JRMP, and JMS. > > > What RMI protocol does your application use? > > You can probably use Wireshark to reverse engineer the protocol the client > is using to find out. You would likely have to hand code simulated RMI > calls in Grinder, as I believe the Grinder Recorder only supports > HTTP-based protocols. > > Regards, > Gary > > On 16 February 2017 at 15:41, Priyanka Tiwari <pri...@gm...> > wrote: > >> Hi , >> >> I am currently testing aJAVA RMI application which is basically a product >> by external company. Due to this I can not access the code of the >> application both for client and server side. We just have the client side >> .BAT file which helps in invoking the application front end. >> >> Could you please suggest if Grinder can help such situation. Is recording >> of such application possible. >> >> Thanks >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> grinder-use mailing list >> gri...@li... >> https://lists.sourceforge.net/lists/listinfo/grinder-use >> >> > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > |
From: Joel L. <joe...@gm...> - 2017-02-16 20:14:02
|
Hi Priyanka, You can't record RMI calls in the grinder. Suggest you write all the java calls via jython scripts. Ask the developer of the client app to provide those info about how to instrument else The grinder can't help. Hope that helps, Joel On Feb 16, 2017 1:20 PM, "Gary Mulder" <fly...@gm...> wrote: Hi Priyanka, There is reference in the Grinder docs: The Grinder can be used to test RPC and MOM based systems using protocols such as IIOP, RMI/IIOP, RMI/JRMP, and JMS. What RMI protocol does your application use? You can probably use Wireshark to reverse engineer the protocol the client is using to find out. You would likely have to hand code simulated RMI calls in Grinder, as I believe the Grinder Recorder only supports HTTP-based protocols. Regards, Gary On 16 February 2017 at 15:41, Priyanka Tiwari <pri...@gm...> wrote: > Hi , > > I am currently testing aJAVA RMI application which is basically a product > by external company. Due to this I can not access the code of the > application both for client and server side. We just have the client side > .BAT file which helps in invoking the application front end. > > Could you please suggest if Grinder can help such situation. Is recording > of such application possible. > > Thanks > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > ------------------------------------------------------------ ------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ grinder-use mailing list gri...@li... https://lists.sourceforge.net/lists/listinfo/grinder-use |
From: Gary M. <fly...@gm...> - 2017-02-16 18:13:56
|
Hi Priyanka, There is reference in the Grinder docs: The Grinder can be used to test RPC and MOM based systems using protocols such as IIOP, RMI/IIOP, RMI/JRMP, and JMS. What RMI protocol does your application use? You can probably use Wireshark to reverse engineer the protocol the client is using to find out. You would likely have to hand code simulated RMI calls in Grinder, as I believe the Grinder Recorder only supports HTTP-based protocols. Regards, Gary On 16 February 2017 at 15:41, Priyanka Tiwari <pri...@gm...> wrote: > Hi , > > I am currently testing aJAVA RMI application which is basically a product > by external company. Due to this I can not access the code of the > application both for client and server side. We just have the client side > .BAT file which helps in invoking the application front end. > > Could you please suggest if Grinder can help such situation. Is recording > of such application possible. > > Thanks > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > |
From: Adil q. <ad...@gm...> - 2017-02-16 18:13:42
|
Hi For doing performance testing you dont need access to the code . You should just record the script and start loading. Another important thing is that you should ask how much load the vendor application can take. Then you should see whats the throughput expected by your Front end and test in that vicinity. On 16 Feb 2017 9:17 PM, "Priyanka Tiwari" <pri...@gm...> wrote: Hi , I am currently testing aJAVA RMI application which is basically a product by external company. Due to this I can not access the code of the application both for client and server side. We just have the client side .BAT file which helps in invoking the application front end. Could you please suggest if Grinder can help such situation. Is recording of such application possible. Thanks ------------------------------------------------------------ ------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ grinder-use mailing list gri...@li... https://lists.sourceforge.net/lists/listinfo/grinder-use |
From: Priyanka T. <pri...@gm...> - 2017-02-16 15:41:34
|
Hi , I am currently testing aJAVA RMI application which is basically a product by external company. Due to this I can not access the code of the application both for client and server side. We just have the client side .BAT file which helps in invoking the application front end. Could you please suggest if Grinder can help such situation. Is recording of such application possible. Thanks |
From: Priyanka T. <pri...@gm...> - 2017-02-16 13:56:58
|
Hi Sean, Thanks for the answer ,It worked. I am currently testing aJAVA RMI application which is basically a product by external company. Due to this I can not access the code of the application both for client and server side. We just have the client side .BAT file which helps in invoking the application front end. Could you please suggest if Grinder can help such situation. Is recording of such application possible. Thanks Priyanka On Thu, Feb 16, 2017 at 2:36 PM, Sean Tiley <sea...@gm...> wrote: > Hi there, > I believe the command you need to use to start the console is > > java net.grinder.Console - (not net.console.grinder) > > Give that a try. > Sean > > On Thu, Feb 16, 2017 at 8:21 AM, Priyanka Tiwari <pri...@gm...> > wrote: > >> Hi, >> >> I am getting error message "Could not find or load mail class" while >> accessing the grinder console by below command : >> >> java -cp "C:\Grinder\lib\grinder.jar" net.console.grinder >> >> Content of startGrinderAgent: >> set GRINDERPATH=C:\Grinder >> set GRINDERPROPERTIES=C:\Grinder\grinder.properties >> set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% >> PATH=%JAVA_HOME%\bin;%PATH% >> >> Content of setGrinderEnv >> set GRINDERPATH=C:\Grinder >> set GRINDERPROPERTIES=C:\Grinder\grinder.properties >> set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% >> PATH=%JAVA_HOME%\bin;%PATH% >> >> Content of grinderconsole.cmv >> call C:\Grinder\setGrinderEnv.cmd >> java -cp "%CLASSPATH%" net.grinder.Console >> >> Content of grinderagent.cmv >> call C:\Grinder\setGrinderEnv.cmd >> echo %CLASSPATH% >> java -cp "%CLASSPATH%" net.grinder.Grinder %GRINDERPROPERTIES% >> >> Could you please help. >> >> Thanks >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> grinder-use mailing list >> gri...@li... >> https://lists.sourceforge.net/lists/listinfo/grinder-use >> >> > > > -- > Sean Tiley > sea...@gm... > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > |
From: Sean T. <sea...@gm...> - 2017-02-16 13:36:32
|
Hi there, I believe the command you need to use to start the console is java net.grinder.Console - (not net.console.grinder) Give that a try. Sean On Thu, Feb 16, 2017 at 8:21 AM, Priyanka Tiwari <pri...@gm...> wrote: > Hi, > > I am getting error message "Could not find or load mail class" while > accessing the grinder console by below command : > > java -cp "C:\Grinder\lib\grinder.jar" net.console.grinder > > Content of startGrinderAgent: > set GRINDERPATH=C:\Grinder > set GRINDERPROPERTIES=C:\Grinder\grinder.properties > set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% > PATH=%JAVA_HOME%\bin;%PATH% > > Content of setGrinderEnv > set GRINDERPATH=C:\Grinder > set GRINDERPROPERTIES=C:\Grinder\grinder.properties > set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% > PATH=%JAVA_HOME%\bin;%PATH% > > Content of grinderconsole.cmv > call C:\Grinder\setGrinderEnv.cmd > java -cp "%CLASSPATH%" net.grinder.Console > > Content of grinderagent.cmv > call C:\Grinder\setGrinderEnv.cmd > echo %CLASSPATH% > java -cp "%CLASSPATH%" net.grinder.Grinder %GRINDERPROPERTIES% > > Could you please help. > > Thanks > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > -- Sean Tiley sea...@gm... |
From: Priyanka T. <pri...@gm...> - 2017-02-16 13:22:21
|
Hi, I am getting error message "Could not find or load mail class" while accessing the grinder console by below command : java -cp "C:\Grinder\lib\grinder.jar" net.console.grinder Content of startGrinderAgent: set GRINDERPATH=C:\Grinder set GRINDERPROPERTIES=C:\Grinder\grinder.properties set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% PATH=%JAVA_HOME%\bin;%PATH% Content of setGrinderEnv set GRINDERPATH=C:\Grinder set GRINDERPROPERTIES=C:\Grinder\grinder.properties set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% PATH=%JAVA_HOME%\bin;%PATH% Content of grinderconsole.cmv call C:\Grinder\setGrinderEnv.cmd java -cp "%CLASSPATH%" net.grinder.Console Content of grinderagent.cmv call C:\Grinder\setGrinderEnv.cmd echo %CLASSPATH% java -cp "%CLASSPATH%" net.grinder.Grinder %GRINDERPROPERTIES% Could you please help. Thanks |
From: Joel L. <joe...@gm...> - 2017-01-30 19:04:46
|
An example.. nohup /test_data/java/jdk1.8.0_11/bin/java -cp /test_data/grinder/lib/grinder.jar: -Dgrinder.console.httpHost=grinder_console_host net.grinder.Console > ~/grinderConsoleoutput.log 2>&1 & Joel On Jan 30, 2017 1:51 PM, "olivier merlin" <ome...@gm...> wrote: > Hi, > Use -Dgrinder.consoleHost=xxx on your java agent startup script > Cheers > > Le lun. 30 janv. 2017 19:07, Javier Farias <jf...@xi...> a écrit : > > I cannot figure out how I can tell my agent where the console is running. > > The console and the agent are in two separate machines. The agent runs on > Windows. Its grinder.properties file is: > > grinder.script=C:\\Users\\admin\\Desktop\\grinder-3.11\\ > scripts\\grinder.py > grinder.consoleHost=192.168.0.109 > grinder.consolePort=6372 > grinder.processIncrement=500 > grinder.threads=500 > grinder.runs=0 > grinder.processIncrementInterval=1000 > > I launch the agent process with: > > set GRINDERPATH=C:\Users\admin\Desktop\grinder-3.11 > set GRINDERPROPERTIES=grinder.properties > set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% > set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_121 > PATH=%JAVA_HOME%\bin;%PATH% > java -classpath %CLASSPATH% net.grinder.Grinder %GRINDERPROPERTIES% > > The agent output while starting is: > > 2017-01-30 13:17:46,787 INFO agent: The Grinder 3.11 > 2017-01-30 13:17:47,857 WARN agent: Failed to connect to 'localhost/ > 127.0.0.1:6372', proceeding without the console; set > grinder.useConsole=false to disable this warning. > 2017-01-30 13:17:47,873 INFO agent: Worker process command line: java > '-javaagent:C:\Users\admin\Desktop\grinder-3.11\lib\grinder-dcr-agent-3.11.jar' > -classpath 'C:\Users\admin\Desktop\grinder-3.11\lib\grinder.jar' > net.grinder.engine.process.WorkerProcessEntryPoint > 2017-01-30 13:17:48,033 INFO agent: worker hp-ref-1-0 started > > Why is it trying to connect to 127.0.0.1, if I'm changin the default > console IP in the properties file? > > Thank you > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot______ > _________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > grinder-use mailing list > gri...@li... > https://lists.sourceforge.net/lists/listinfo/grinder-use > > |
From: olivier m. <ome...@gm...> - 2017-01-30 18:43:57
|
Hi, Use -Dgrinder.consoleHost=xxx on your java agent startup script Cheers Le lun. 30 janv. 2017 19:07, Javier Farias <jf...@xi...> a écrit : I cannot figure out how I can tell my agent where the console is running. The console and the agent are in two separate machines. The agent runs on Windows. Its grinder.properties file is: grinder.script=C:\\Users\\admin\\Desktop\\grinder-3.11\\scripts\\grinder.py grinder.consoleHost=192.168.0.109 grinder.consolePort=6372 grinder.processIncrement=500 grinder.threads=500 grinder.runs=0 grinder.processIncrementInterval=1000 I launch the agent process with: set GRINDERPATH=C:\Users\admin\Desktop\grinder-3.11 set GRINDERPROPERTIES=grinder.properties set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_121 PATH=%JAVA_HOME%\bin;%PATH% java -classpath %CLASSPATH% net.grinder.Grinder %GRINDERPROPERTIES% The agent output while starting is: 2017-01-30 13:17:46,787 INFO agent: The Grinder 3.11 2017-01-30 13:17:47,857 WARN agent: Failed to connect to 'localhost/ 127.0.0.1:6372', proceeding without the console; set grinder.useConsole=false to disable this warning. 2017-01-30 13:17:47,873 INFO agent: Worker process command line: java '-javaagent:C:\Users\admin\Desktop\grinder-3.11\lib\grinder-dcr-agent-3.11.jar' -classpath 'C:\Users\admin\Desktop\grinder-3.11\lib\grinder.jar' net.grinder.engine.process.WorkerProcessEntryPoint 2017-01-30 13:17:48,033 INFO agent: worker hp-ref-1-0 started Why is it trying to connect to 127.0.0.1, if I'm changin the default console IP in the properties file? Thank you ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ grinder-use mailing list gri...@li... https://lists.sourceforge.net/lists/listinfo/grinder-use |
From: Javier F. <jf...@xi...> - 2017-01-30 17:59:13
|
I cannot figure out how I can tell my agent where the console is running. The console and the agent are in two separate machines. The agent runs on Windows. Its grinder.properties file is: grinder.script=C:\\Users\\admin\\Desktop\\grinder-3.11\\scripts\\grinder.py grinder.consoleHost=192.168.0.109 grinder.consolePort=6372 grinder.processIncrement=500 grinder.threads=500 grinder.runs=0 grinder.processIncrementInterval=1000 I launch the agent process with: set GRINDERPATH=C:\Users\admin\Desktop\grinder-3.11 set GRINDERPROPERTIES=grinder.properties set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_121 PATH=%JAVA_HOME%\bin;%PATH% java -classpath %CLASSPATH% net.grinder.Grinder %GRINDERPROPERTIES% The agent output while starting is: 2017-01-30 13:17:46,787 INFO agent: The Grinder 3.11 2017-01-30 13:17:47,857 WARN agent: Failed to connect to 'localhost/ 127.0.0.1:6372', proceeding without the console; set grinder.useConsole=false to disable this warning. 2017-01-30 13:17:47,873 INFO agent: Worker process command line: java '-javaagent:C:\Users\admin\Desktop\grinder-3.11\lib\grinder-dcr-agent-3.11.jar' -classpath 'C:\Users\admin\Desktop\grinder-3.11\lib\grinder.jar' net.grinder.engine.process.WorkerProcessEntryPoint 2017-01-30 13:17:48,033 INFO agent: worker hp-ref-1-0 started Why is it trying to connect to 127.0.0.1, if I'm changin the default console IP in the properties file? Thank you |