Re: Running Multiple Scripts Concurrently Using Grinder
Gary Mulder <[email protected]> Tue, 23 Jun 2015 22:30:19 +0100
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTDayRCoaQ2y6CEHdzC4c3aqQRte6w7+fg=zjVkG-Oodbg@mail.gmail.com> |
Hi Christine, The filename of the script is usually defined in the Grinder configuration file. Conceptually, all Grinder threads execute the same test program, unlike in LoadRunner where you assign threads to different test scripts. A simple Jython solution to this is for each thread to essentially use conditional logic to execute different code paths as a function of the thread id. Regards, Gary On 23 Jun 2015 10:15 pm, "Christine Economy" <[email protected]> wrote: > Hi Adil, > > Thanks for your amazingly quick response - I know now that the Grinder > network > does respond! (not all tech networks are that good). > > I'm using an environment set-up by someone who is not longer at the > company. > I've searched for a parallel.py script in al directories, and nothing > is/was found. > Possibly, multi-script runs have not been done in this area.. > > Do you have one that has worked for you? How does it relate tho the master > script? I'm hoping you're right when you say it's pretty easy. It IS > pretty easy > with Loadrunner and JMeter. > > I really appreciate your time and help! > > Thanks and regards, > Chris > > > > > On Tue, Jun 23, 2015 at 1:59 PM, Adil qureshi <[email protected]> wrote: > >> Inside examples go to parallel.py. .I am using the same. .,its quite easy >> to do that in grinder. .. >> On 23 Jun 2015 21:55, "Christine Economy" <[email protected]> >> wrote: >> >>> Hi Grinder World Members, >>> >>> I'm a performance engineer who has used Loadrunner and QTP >>> for several years, and have used JMeter a few times as well, but >>> just started using Grinder. I've run some large tests, but have not had >>> to run multiple scripts concurrently until now, and I'm hoping someone >>> out >>> will be kind enough to offer some help/guidance. I have to have this >>> working >>> for a super high visibility project in the next one and a half. >>> >>> I'm basically looking for an equivalent to Loadrunner's multiple scripts >>> in a >>> scenario, or HTTP requests with JMeter. >>> >>> I did some homework/Googling before reaching out to you - >>> and found this helpful link: >>> >>> http://osdir.com/ml/java.grinder.user/2004-05/msg00014.html >>> >>> Apologies if I'm being dense on this, but I'm not seeing the step by step >>> thought process; for example, where/how is the divisor (4 in most cases >>> in the doc >>> at the link) is being arrived at. I think just a bit of input from >>> someone who has done >>> this will make it clear. >>> >>> Also, is anything additional needed along with the master script? >>> >>> Thanks very much for your time and help. >>> >>> Best regards, >>> Chris >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor 25 network devices or servers for free with OpManager! >>> OpManager is web-based network management software that monitors >>> network devices and physical & virtual servers, alerts via email & sms >>> for fault. Monitor 25 devices for free with no restriction. Download now >>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o >>> _______________________________________________ >>> grinder-use mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/grinder-use >>> >>> >> >> ------------------------------------------------------------------------------ >> Monitor 25 network devices or servers for free with OpManager! >> OpManager is web-based network management software that monitors >> network devices and physical & virtual servers, alerts via email & sms >> for fault. Monitor 25 devices for free with no restriction. Download now >> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o >> _______________________________________________ >> grinder-use mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/grinder-use >> >> > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > > ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use