Re: Grinder test result not data
Joel Lucuik <[email protected]> Tue, 19 Apr 2016 22:50:05 -0400
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAA4qVTL2dbmgqXv+CzTD=abi5zY85fJcQBqN2t6SEG5mu1CazA@mail.gmail.com> |
--===============4861759059949500403== Content-Type: multipart/alternative; boundary=001a113cc26cac57a60530e1a64d --001a113cc26cac57a60530e1a64d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes. Check the script I included. It provides an example Joel On Apr 19, 2016 9:43 PM, "Gang Yan" <[email protected]> wrote: > Hi Joel > > > > Thanks you reply! > > > > I have question: you mean add grinder.statistics to test script? > > > > Thanks! > > > > > > *From:* Joel Lucuik [mailto:[email protected]] > *Sent:* 2016=E5=B9=B44=E6=9C=8819=E6=97=A5 19:36 > *To:* grinder-use > *Subject:* Re: [Grinder-use] Grinder test result not data > > > > Hi all, > > Just an update. > > We solved this by realizing this was asynchronous, and that doesn't work > well with Grinder. > > So referencing this: > > http://grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver.py > > ..And using grinder.statistics for the reporting and queues to count > received messages, and we send the times in the payload. > > This is working well. > > Joel > > > > On Tue, Apr 19, 2016 at 6:12 AM, Gang Yan <[email protected]> wrote: > > Hi all: > > > > I run grinder testing LDAP stress test. But not test data after finishin= g > test. See test data log: Thanks! > > > > more uapgv4041.us.oracle.com-0-data.log > > Thread, Run, Test, Start time (ms since Epoch), Test time, Errors > > > > more uapgv4041.us.oracle.com-0.log > > 2016-04-19 09:32:15,773 INFO com-0 : The Grinder version 3.11 > > 2016-04-19 09:32:15,778 INFO com-0 : Java(TM) SE Runtime Environment > 1.7.0_45-b35: Java HotSpot(TM) 64-Bit Server VM (24.45-b08, mixed mode) o= n > Linux amd64 3.8.13-118.3.2.el6uek.x86_64 > > 2016-04-19 09:32:15,781 INFO com-0 : time zone is UTC (+0000) > > 2016-04-19 09:32:15,898 INFO com-0 : worker process 0 > > 2016-04-19 09:32:15,953 INFO com-0 : instrumentation agents: byte code > transforming instrumenter for Jython 2.5; byte code transforming > instrumenter for Java > > 2016-04-19 09:32:18,611 INFO com-0 : run mode is continuous, duration is > 0:10:00 > > 2016-04-19 09:32:18,611 INFO com-0 : running "test_ldap.py" using Jython > 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:54:35) > > [Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] > > 2016-04-19 09:32:18,658 INFO com-0 thread-5: starting, will do 1 run > > 2016-04-19 09:32:18,658 INFO com-0 thread-4: starting, will do 1 run > > 2016-04-19 09:32:18,659 INFO com-0 thread-3: starting, will do 1 run > > 2016-04-19 09:32:18,659 INFO com-0 thread-2: starting, will do 1 run > > 2016-04-19 09:32:18,659 INFO com-0 thread-1: starting, will do 1 run > > 2016-04-19 09:32:18,659 INFO com-0 thread-0: starting, will do 1 run > > 2016-04-19 09:32:18,659 INFO com-0 thread-6: starting, will do 1 run > > 2016-04-19 09:32:18,659 INFO com-0 thread-7: starting, will do 1 run > > 2016-04-19 09:32:18,660 INFO com-0 thread-8: starting, will do 1 run > > 2016-04-19 09:32:18,660 INFO com-0 thread-9: starting, will do 1 run > > 2016-04-19 09:32:18,660 INFO com-0 : start time is 1461058338660 ms sinc= e > Epoch > > 2016-04-19 09:42:18,713 INFO com-0 thread-9: finished 1 run > > 2016-04-19 09:42:18,713 INFO com-0 thread-4: finished 1 run > > 2016-04-19 09:42:18,754 INFO com-0 thread-5: finished 1 run > > 2016-04-19 09:42:18,788 INFO com-0 thread-1: finished 1 run > > 2016-04-19 09:42:18,842 INFO com-0 thread-8: finished 1 run > > 2016-04-19 09:42:18,843 INFO com-0 thread-6: finished 1 run > > 2016-04-19 09:42:18,871 INFO com-0 thread-2: finished 1 run > > 2016-04-19 09:42:18,888 INFO com-0 thread-3: finished 1 run > > 2016-04-19 09:42:18,928 INFO com-0 thread-7: finished 1 run > > 2016-04-19 09:42:18,930 INFO com-0 thread-0: finished 1 run > > 2016-04-19 09:42:18,930 INFO com-0 : elapsed time is 600270 ms > > 2016-04-19 09:42:18,930 INFO com-0 : Final statistics for this process: > > 2016-04-19 09:42:18,937 INFO com-0 : > > Tests Errors Mean Test Test Time TPS > > Time (ms) Standard > > Deviation > > (ms) > > > > > > Totals 0 0 - 0.00 0.00 > > > > Tests resulting in error only contribute to the Errors column. > > Statistics for individual tests can be found in the data file, includin= g > > (possibly incomplete) statistics for erroneous tests. Composite tests > > are marked with () and not included in the totals. > > > > > > My test script: > > > > more test_ldap.py > > # The sorting test supports a configurable array length. > > # It runs the JavaTest.sort method of the JavaTest class. > > > > from net.grinder.script.Grinder import grinder > > from net.grinder.script import Test > > from datetime import datetime > > from datetime import timedelta > > import os > > import sys > > > > ######################################## > > # > > # main body of test script starts here > > # > > ######################################## > > > > # Get the propeties to access test configuration information > > properties =3D grinder.getProperties() > > > > # The description is a property (instead of a hardcoded string in this > script) > > test =3D Test(1, properties.get("javatest.description")) > > > > # select the method for which to collect information > > #test.record(WriteMulitpleLittleFile.write) > > > > # initialize data for compressing > > #fileName =3D properties.get("javatest.fileToCompress") > > #grinder.logger.info("data file to compress is " + fileName) > > #JavaTest.initializeCompression(fileName) > > > > # If the run mode is runOnce, the TestRunner class will > > # run once. Otherwise, if the run mode is continuous, > > # the TestRunner class will run the test for at least > > # the specified duration (but possibly longer) > > runMode =3D properties.get("javatest.runMode") > > #WriteMulitpleLittleFile.setParameters(dir, fileSize...) > > if runMode =3D=3D "continuous": > > # figure out how long to run the test > > m =3D int(properties.getProperty("javatest.durationMinutes", "0")) > > h =3D int(properties.getProperty("javatest.durationHours", "0")) > > d =3D int(properties.getProperty("javatest.durationDays", "0")) > > duration =3D timedelta(minutes=3Dm,hours=3Dh,days=3Dd) > > grinder.logger.info("run mode is continuous, duration is " + > str(duration)) > > elif runMode =3D=3D "runOnce": > > grinder.logger.info("run mode is run once") > > duration =3D timedelta(minutes=3D0) > > else: > > grinder.logger.info("run mode not set or not recongized, default to run > once") > > duration =3D timedelta(minutes=3D0) > > > > ######################################## > > # > > # The TestRunner class is used by The Grinder to perform the test > > # > > ######################################## > > > > class TestRunner: > > def __call__(self): > > endTime =3D datetime.now() + duration > > notDone =3D True > > while notDone: > > os.environ['ORACLE_HOME'] =3D "/u03/Middleware/Oracle_IDM" > > > > from commands import getoutput > > result =3D getoutput( '/u03/Middleware/Oracle_IDM/bin/ldapsearch -a > always -D cn=3Dorcladmin -w welcome1 -p 3060 -b "" -s sub "objectclass=3D= *" > orcldirectoryversion ou=3DGroups Privilege, cn=3DOperatio > > nURLs,cn=3DDAS,cn=3DProducts,cn=3DOracleContext,dc=3Dcn,dc=3Doracle,dc=3D= com') > > print result > > notDone =3D datetime.now() < endTime > > > > > > -------------------------------------------------------------------------= ----- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > > > > > -------------------------------------------------------------------------= ----- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > > --001a113cc26cac57a60530e1a64d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Yes.</p> <p dir=3D"ltr">Check the script I included. It provides an example</p> <p dir=3D"ltr">Joel</p> <div class=3D"gmail_quote">On Apr 19, 2016 9:43 PM, "Gang Yan" &l= t;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:= <br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:= 0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"ZH-CN"= link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNormal"><span lang=3D"E= N-US">Hi Joel<u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"= EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans= -serif";color:#1f497d"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoN= ormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Cal= ibri","sans-serif";color:#1f497d">Thanks you reply!<u></u><u= ></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1f= 497d"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><span lang=3D"E= N-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1f497d">I have question:=C2=A0 you mean add =C2=A0grinde= r.statistics to test script?=C2=A0 <u></u><u></u></span></p><p class=3D"Mso= Normal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=C2=A0<u></u></spa= n></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt= ;font-family:"Calibri","sans-serif";color:#1f497d">Than= ks!<u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" sty= le=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&quo= t;;color:#1f497d"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><sp= an lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri"= ,"sans-serif";color:#1f497d"><u></u>=C2=A0<u></u></span></p><div = style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0= cm"><p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0p= t;font-family:"Tahoma","sans-serif"">From:</span></b><s= pan lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Tahoma"= ,"sans-serif""> Joel Lucuik [mailto:<a href=3D"mailto:joel.lucuik= @gmail.com" target=3D"_blank">[email protected]</a>] <br><b>Sent:</b> 2= 016</span><span style=3D"font-size:10.0pt">=E5=B9=B4</span><span lang=3D"EN= -US" style=3D"font-size:10.0pt;font-family:"Tahoma","sans-se= rif"">4</span><span style=3D"font-size:10.0pt">=E6=9C=88</span><span l= ang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Tahoma",&quo= t;sans-serif"">19</span><span style=3D"font-size:10.0pt">=E6=97=A5</sp= an><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Tahoma&= quot;,"sans-serif""> 19:36<br><b>To:</b> grinder-use<br><b>Subjec= t:</b> Re: [Grinder-use] Grinder test result not data<u></u><u></u></span><= /p></div><p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></= span></p><div><div><div><div><div><div><div><p class=3D"MsoNormal" style=3D= "margin-bottom:12.0pt"><span lang=3D"EN-US">Hi all,<u></u><u></u></span></p= ></div><p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"= EN-US">Just an update.<u></u><u></u></span></p></div><p class=3D"MsoNormal"= style=3D"margin-bottom:12.0pt"><span lang=3D"EN-US">We solved this by real= izing this was asynchronous, and that doesn't work well with Grinder.<u= ></u><u></u></span></p></div><p class=3D"MsoNormal" style=3D"margin-bottom:= 12.0pt"><span lang=3D"EN-US">So referencing this: <br><br><a href=3D"http:/= /grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver.py" target=3D"_= blank">http://grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver.py= </a><u></u><u></u></span></p></div><p class=3D"MsoNormal" style=3D"margin-b= ottom:12.0pt"><span lang=3D"EN-US">..And using grinder.statistics for the r= eporting and queues to count received messages, and we send the times in th= e payload.<u></u><u></u></span></p></div><p class=3D"MsoNormal" style=3D"ma= rgin-bottom:12.0pt"><span lang=3D"EN-US">This is working well.<u></u><u></u= ></span></p></div><p class=3D"MsoNormal"><span lang=3D"EN-US">Joel<u></u><u= ></u></span></p><div><div><div><div><div><div><div><div><p class=3D"MsoNorm= al"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><div><p class=3D"Ms= oNormal"><span lang=3D"EN-US">On Tue, Apr 19, 2016 at 6:12 AM, Gang Yan <= ;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= om</a>> wrote:<u></u><u></u></span></p><div><div><div><div><div><div><di= v><div><div><div><div><div><div><div><p class=3D"MsoNormal"><span lang=3D"E= N-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1f497d">Hi all:</span><span lang=3D"EN-US"><u></u><u></u= ></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:= 10.5pt;font-family:"Calibri","sans-serif";color:#1f497d= ">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Ms= oNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"C= alibri","sans-serif";color:#1f497d">I run=C2=A0 grinder test= ing LDAP stress test. But not test data after finishing test. See test data= log:=C2=A0 Thanks!</span><span lang=3D"EN-US"><u></u><u></u></span></p><p = class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-fam= ily:"Calibri","sans-serif";color:#1f497d">=C2=A0</span>= <span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span = lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",&q= uot;sans-serif";color:#1f497d">more uapgv4041.us.oracle.com-0-data.log= </span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"= ><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&q= uot;,"sans-serif";color:#1f497d">Thread, Run, Test, Start time (m= s since Epoch), Test time, Errors</span><span lang=3D"EN-US"><u></u><u></u>= </span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:1= 0.5pt;font-family:"Calibri","sans-serif";color:#1f497d"= >=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Mso= Normal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1f497d">more uapgv4041.us.oracle.= com-0.log</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"M= soNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"= Calibri","sans-serif";color:#1f497d">2016-04-19 09:32:15,773= INFO=C2=A0 com-0 : The Grinder version 3.11</span><span lang=3D"EN-US"><u>= </u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"= font-size:10.5pt;font-family:"Calibri","sans-serif";col= or:#1f497d">2016-04-19 09:32:15,778 INFO=C2=A0 com-0 : Java(TM) SE Runtime = Environment 1.7.0_45-b35: Java HotSpot(TM) 64-Bit Server VM (24.45-b08, mix= ed mode) on Linux amd64 3.8.13-118.3.2.el6uek.x86_64</span><span lang=3D"EN= -US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" s= tyle=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&q= uot;;color:#1f497d">2016-04-19 09:32:15,781 INFO=C2=A0 com-0 : time zone is= UTC (+0000)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class= =3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:&= quot;Calibri","sans-serif";color:#1f497d">2016-04-19 09:32:1= 5,898 INFO=C2=A0 com-0 : worker process 0</span><span lang=3D"EN-US"><u></u= ><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"fon= t-size:10.5pt;font-family:"Calibri","sans-serif";color:= #1f497d">2016-04-19 09:32:15,953 INFO=C2=A0 com-0 : instrumentation agents:= byte code transforming instrumenter for Jython 2.5; byte code transforming= instrumenter for Java</span><span lang=3D"EN-US"><u></u><u></u></span></p>= <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-= family:"Calibri","sans-serif";color:#1f497d">2016-04-19= 09:32:18,611 INFO=C2=A0 com-0 : run mode is continuous, duration is 0:10:0= 0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal= "><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&= quot;,"sans-serif";color:#1f497d">2016-04-19 09:32:18,611 INFO=C2= =A0 com-0 : running "test_ldap.py" using Jython 2.5.3 (2.5:c56500= f08d34+, Aug 13 2012, 14:54:35)</span><span lang=3D"EN-US"><u></u><u></u></= span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.= 5pt;font-family:"Calibri","sans-serif";color:#1f497d">[= Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]</span><span lang=3D= "EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US= " style=3D"font-size:10.5pt;font-family:"Calibri","sans-seri= f";color:#1f497d">2016-04-19 09:32:18,658 INFO=C2=A0 com-0 thread-5: s= tarting, will do 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p>= <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-= family:"Calibri","sans-serif";color:#1f497d">2016-04-19= 09:32:18,658 INFO=C2=A0 com-0 thread-4: starting, will do 1 run</span><spa= n lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang= =3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","= sans-serif";color:#1f497d">2016-04-19 09:32:18,659 INFO=C2=A0 com-0 th= read-3: starting, will do 1 run</span><span lang=3D"EN-US"><u></u><u></u></= span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.= 5pt;font-family:"Calibri","sans-serif";color:#1f497d">2= 016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-2: starting, will do 1 run</= span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><= span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&quo= t;,"sans-serif";color:#1f497d">2016-04-19 09:32:18,659 INFO=C2=A0= com-0 thread-1: starting, will do 1 run</span><span lang=3D"EN-US"><u></u>= <u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font= -size:10.5pt;font-family:"Calibri","sans-serif";color:#= 1f497d">2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-0: starting, will d= o 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Mso= Normal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1f497d">2016-04-19 09:32:18,659 I= NFO=C2=A0 com-0 thread-6: starting, will do 1 run</span><span lang=3D"EN-US= "><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" styl= e=3D"font-size:10.5pt;font-family:"Calibri","sans-serif"= ;;color:#1f497d">2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-7: startin= g, will do 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cla= ss=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family= :"Calibri","sans-serif";color:#1f497d">2016-04-19 09:32= :18,660 INFO=C2=A0 com-0 thread-8: starting, will do 1 run</span><span lang= =3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN= -US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-s= erif";color:#1f497d">2016-04-19 09:32:18,660 INFO=C2=A0 com-0 thread-9= : starting, will do 1 run</span><span lang=3D"EN-US"><u></u><u></u></span><= /p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;fo= nt-family:"Calibri","sans-serif";color:#1f497d">2016-04= -19 09:32:18,660 INFO=C2=A0 com-0 : start time is 1461058338660 ms since Ep= och</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorm= al"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibr= i","sans-serif";color:#1f497d">2016-04-19 09:42:18,713 INFO= =C2=A0 com-0 thread-9: finished 1 run</span><span lang=3D"EN-US"><u></u><u>= </u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-si= ze:10.5pt;font-family:"Calibri","sans-serif";color:#1f4= 97d">2016-04-19 09:42:18,713 INFO=C2=A0 com-0 thread-4: finished 1 run</spa= n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa= n lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1f497d">2016-04-19 09:42:18,754 INFO=C2=A0 co= m-0 thread-5: finished 1 run</span><span lang=3D"EN-US"><u></u><u></u></spa= n></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt= ;font-family:"Calibri","sans-serif";color:#1f497d">2016= -04-19 09:42:18,788 INFO=C2=A0 com-0 thread-1: finished 1 run</span><span l= ang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D= "EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","san= s-serif";color:#1f497d">2016-04-19 09:42:18,842 INFO=C2=A0 com-0 threa= d-8: finished 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p = class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-fam= ily:"Calibri","sans-serif";color:#1f497d">2016-04-19 09= :42:18,843 INFO=C2=A0 com-0 thread-6: finished 1 run</span><span lang=3D"EN= -US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" s= tyle=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&q= uot;;color:#1f497d">2016-04-19 09:42:18,871 INFO=C2=A0 com-0 thread-2: fini= shed 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"= MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"= ;Calibri","sans-serif";color:#1f497d">2016-04-19 09:42:18,88= 8 INFO=C2=A0 com-0 thread-3: finished 1 run</span><span lang=3D"EN-US"><u><= /u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"f= ont-size:10.5pt;font-family:"Calibri","sans-serif";colo= r:#1f497d">2016-04-19 09:42:18,928 INFO=C2=A0 com-0 thread-7: finished 1 ru= n</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal= "><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&= quot;,"sans-serif";color:#1f497d">2016-04-19 09:42:18,930 INFO=C2= =A0 com-0 thread-0: finished 1 run</span><span lang=3D"EN-US"><u></u><u></u= ></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:= 10.5pt;font-family:"Calibri","sans-serif";color:#1f497d= ">2016-04-19 09:42:18,930 INFO=C2=A0 com-0 : elapsed time is 600270 ms</spa= n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa= n lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1f497d">2016-04-19 09:42:18,930 INFO=C2=A0 co= m-0 : Final statistics for this process:</span><span lang=3D"EN-US"><u></u>= <u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font= -size:10.5pt;font-family:"Calibri","sans-serif";color:#= 1f497d">2016-04-19 09:42:18,937 INFO=C2=A0 com-0 :</span><span lang=3D"EN-U= S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" sty= le=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&quo= t;;color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Tests=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Errors=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Mean Test=C2=A0=C2=A0=C2=A0 Test Time=C2= =A0=C2=A0=C2=A0 TPS</span><span lang=3D"EN-US"><u></u><u></u></span></p><p = class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-fam= ily:"Calibri","sans-serif";color:#1f497d">=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Time (ms= )=C2=A0=C2=A0=C2=A0 Standard</span><span lang=3D"EN-US"><u></u><u></u></spa= n></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt= ;font-family:"Calibri","sans-serif";color:#1f497d">=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0Deviation</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas= s=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:= "Calibri","sans-serif";color:#1f497d">=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (ms)</sp= an><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><sp= an lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri"= ,"sans-serif";color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u= ></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D= "font-size:10.5pt;font-family:"Calibri","sans-serif";co= lor:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p = class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-fam= ily:"Calibri","sans-serif";color:#1f497d">Totals=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.00</spa= n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa= n lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u>= </u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"= font-size:10.5pt;font-family:"Calibri","sans-serif";col= or:#1f497d">=C2=A0 Tests resulting in error only contribute to the Errors c= olumn.</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoN= ormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Cal= ibri","sans-serif";color:#1f497d">=C2=A0 Statistics for indi= vidual tests can be found in the data file, including</span><span lang=3D"E= N-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" = style=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&= quot;;color:#1f497d">=C2=A0 (possibly incomplete) statistics for erroneous = tests. Composite tests</span><span lang=3D"EN-US"><u></u><u></u></span></p>= <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-= family:"Calibri","sans-serif";color:#1f497d">=C2=A0 are= marked with () and not included in the totals.</span><span lang=3D"EN-US">= <u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style= =3D"font-size:10.5pt;font-family:"Calibri","sans-serif"= ;color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p>= <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-= family:"Calibri","sans-serif";color:#1f497d">=C2=A0</sp= an><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><sp= an lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri"= ,"sans-serif";color:#1f497d">My test script:</span><span lang=3D"= EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US"= style=3D"font-size:10.5pt;font-family:"Calibri","sans-serif= ";color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></spa= n></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt= ;font-family:"Calibri","sans-serif";color:#1f497d">more= test_ldap.py</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class= =3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:&= quot;Calibri","sans-serif";color:#1f497d"># The sorting test= supports a configurable array length.</span><span lang=3D"EN-US"><u></u><u= ></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1f= 497d"># It runs the JavaTest.sort method of the JavaTest class.</span><span= lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang= =3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","= sans-serif";color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></u><u= ></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1f= 497d">from net.grinder.script.Grinder import grinder</span><span lang=3D"EN= -US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" s= tyle=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&q= uot;;color:#1f497d">from net.grinder.script import Test</span><span lang=3D= "EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US= " style=3D"font-size:10.5pt;font-family:"Calibri","sans-seri= f";color:#1f497d">from datetime import datetime</span><span lang=3D"EN= -US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" s= tyle=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&q= uot;;color:#1f497d">from datetime import timedelta</span><span lang=3D"EN-U= S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" sty= le=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&quo= t;;color:#1f497d">import os</span><span lang=3D"EN-US"><u></u><u></u></span= ></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;= font-family:"Calibri","sans-serif";color:#1f497d">impor= t sys</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNo= rmal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Cali= bri","sans-serif";color:#1f497d">=C2=A0</span><span lang=3D"= EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US"= style=3D"font-size:10.5pt;font-family:"Calibri","sans-serif= ";color:#1f497d">########################################</span><span = lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang= =3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","= sans-serif";color:#1f497d">#</span><span lang=3D"EN-US"><u></u><u></u>= </span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:1= 0.5pt;font-family:"Calibri","sans-serif";color:#1f497d"= ># main body of test script starts here</span><span lang=3D"EN-US"><u></u><= u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-= size:10.5pt;font-family:"Calibri","sans-serif";color:#1= f497d">#</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Ms= oNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"C= alibri","sans-serif";color:#1f497d">########################= ################</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cla= ss=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family= :"Calibri","sans-serif";color:#1f497d">=C2=A0</span><sp= an lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lan= g=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","= ;sans-serif";color:#1f497d"># Get the propeties to access test configu= ration information</span><span lang=3D"EN-US"><u></u><u></u></span></p><p c= lass=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-fami= ly:"Calibri","sans-serif";color:#1f497d">properties =3D= grinder.getProperties()</span><span lang=3D"EN-US"><u></u><u></u></span></= p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;fon= t-family:"Calibri","sans-serif";color:#1f497d">=C2=A0</= span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><= span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&quo= t;,"sans-serif";color:#1f497d"># The description is a property (i= nstead of a hardcoded string in this script)</span><span lang=3D"EN-US"><u>= </u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"= font-size:10.5pt;font-family:"Calibri","sans-serif";col= or:#1f497d">test =3D Test(1, properties.get("javatest.description"= ;))</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorm= al"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibr= i","sans-serif";color:#1f497d">=C2=A0</span><span lang=3D"EN= -US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" s= tyle=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&q= uot;;color:#1f497d"># select the method for which to collect information</s= pan><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><s= pan lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri"= ;,"sans-serif";color:#1f497d">#test.record(WriteMulitpleLittleFil= e.write)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Ms= oNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"C= alibri","sans-serif";color:#1f497d">=C2=A0</span><span lang= =3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN= -US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-s= erif";color:#1f497d"># initialize data for compressing</span><span lan= g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"E= N-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1f497d">#fileName =3D properties.get("javatest.file= ToCompress")</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cl= ass=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-famil= y:"Calibri","sans-serif";color:#1f497d">#<a href=3D"htt= p://grinder.logger.info" target=3D"_blank">grinder.logger.info</a>("da= ta file to compress is " + fileName)</span><span lang=3D"EN-US"><u></u= ><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"fon= t-size:10.5pt;font-family:"Calibri","sans-serif";color:= #1f497d">#JavaTest.initializeCompression(fileName)</span><span lang=3D"EN-U= S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" sty= le=3D"font-size:10.5pt;font-family:"Calibri","sans-serif&quo= t;;color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></= p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;fon= t-family:"Calibri","sans-serif";color:#1f497d"># If the= run mode is runOnce, the TestRunner class will</span><span lang=3D"EN-US">= <u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style= =3D"font-size:10.5pt;font-family:"Calibri","sans-serif"= ;color:#1f497d"># run once.=C2=A0 Otherwise, if the run mode is continuous,= </span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"= ><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&q= uot;,"sans-serif";color:#1f497d"># the TestRunner class will run = the test for at least</span><span lang=3D"EN-US"><u></u><u></u></span></p><= p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-f= amily:"Calibri","sans-serif";color:#1f497d"># the speci= fied duration (but possibly longer)</span><span lang=3D"EN-US"><u></u><u></= u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size= :10.5pt;font-family:"Calibri","sans-serif";color:#1f497= d">runMode =3D properties.get("javatest.runMode")</span><span lan= g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"E= N-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1f497d">#WriteMulitpleLittleFile.setParameters(dir, file= Size...)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Ms= oNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"C= alibri","sans-serif";color:#1f497d">if runMode =3D=3D "= continuous":</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cl= ass=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-famil= y:"Calibri","sans-serif";color:#1f497d">=C2=A0 # figure= out how long to run the test</span><span lang=3D"EN-US"><u></u><u></u></sp= an></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5p= t;font-family:"Calibri","sans-serif";color:#1f497d">=C2= =A0 m =3D int(properties.getProperty("javatest.durationMinutes", = "0"))</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas= s=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:= "Calibri","sans-serif";color:#1f497d">=C2=A0 h =3D int(= properties.getProperty("javatest.durationHours", "0"))<= /span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal">= <span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&qu= ot;,"sans-serif";color:#1f497d">=C2=A0 d =3D int(properties.getPr= operty("javatest.durationDays", "0"))</span><span lang= =3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN= -US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-s= erif";color:#1f497d">=C2=A0 duration =3D timedelta(minutes=3Dm,hours= =3Dh,days=3Dd)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class= =3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:&= quot;Calibri","sans-serif";color:#1f497d">=C2=A0 <a href=3D"= http://grinder.logger.info" target=3D"_blank">grinder.logger.info</a>("= ;run mode is continuous, duration is " + str(duration))</span><span la= ng=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"= EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans= -serif";color:#1f497d">elif runMode =3D=3D "runOnce":</span>= <span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span = lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",&q= uot;sans-serif";color:#1f497d">=C2=A0 <a href=3D"http://grinder.logger= .info" target=3D"_blank">grinder.logger.info</a>("run mode is run once= ")</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Mso= Normal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=C2=A0 duration =3D timed= elta(minutes=3D0)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cl= ass=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-famil= y:"Calibri","sans-serif";color:#1f497d">else:</span><sp= an lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lan= g=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","= ;sans-serif";color:#1f497d">=C2=A0 <a href=3D"http://grinder.logger.in= fo" target=3D"_blank">grinder.logger.info</a>("run mode not set or not= recongized, default to run once")</span><span lang=3D"EN-US"><u></u><= u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-= size:10.5pt;font-family:"Calibri","sans-serif";color:#1= f497d">=C2=A0 duration =3D timedelta(minutes=3D0)</span><span lang=3D"EN-US= "><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" styl= e=3D"font-size:10.5pt;font-family:"Calibri","sans-serif"= ;;color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p= ><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font= -family:"Calibri","sans-serif";color:#1f497d">#########= ###############################</span><span lang=3D"EN-US"><u></u><u></u></= span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.= 5pt;font-family:"Calibri","sans-serif";color:#1f497d">#= </span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"= ><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri&q= uot;,"sans-serif";color:#1f497d"># The TestRunner class is used b= y The Grinder to perform the test</span><span lang=3D"EN-US"><u></u><u></u>= </span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:1= 0.5pt;font-family:"Calibri","sans-serif";color:#1f497d"= >#</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorma= l"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri= ","sans-serif";color:#1f497d">##############################= ##########</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"= MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"= ;Calibri","sans-serif";color:#1f497d">=C2=A0</span><span lan= g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"E= N-US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1f497d">class TestRunner:</span><span lang=3D"EN-US"><u>= </u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"= font-size:10.5pt;font-family:"Calibri","sans-serif";col= or:#1f497d">=C2=A0 def __call__(self):</span><span lang=3D"EN-US"><u></u><u= ></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1f= 497d">=C2=A0=C2=A0=C2=A0 endTime =3D datetime.now() + duration</span><span = lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang= =3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri","= sans-serif";color:#1f497d">=C2=A0=C2=A0=C2=A0 notDone =3D True</span><= span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span l= ang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",&qu= ot;sans-serif";color:#1f497d">=C2=A0=C2=A0=C2=A0 while notDone:</span>= <span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span = lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",&q= uot;sans-serif";color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 os.envir= on['ORACLE_HOME'] =3D "/u03/Middleware/Oracle_IDM"</span>= <span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span = lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",&q= uot;sans-serif";color:#1f497d">=C2=A0</span><span lang=3D"EN-US"><u></= u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"fo= nt-size:10.5pt;font-family:"Calibri","sans-serif";color= :#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from commands import getoutput</sp= an><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><sp= an lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri"= ,"sans-serif";color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 resul= t =3D getoutput( '/u03/Middleware/Oracle_IDM/bin/ldapsearch -a always -= D cn=3Dorcladmin -w welcome1 -p 3060 -b "" -s sub "objectcla= ss=3D*" orcldirectoryversion ou=3DGroups Privilege, cn=3DOperatio</spa= n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa= n lang=3D"EN-US" style=3D"font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1f497d">nURLs,cn=3DDAS,cn=3DProducts,cn=3DOra= cleContext,dc=3Dcn,dc=3Doracle,dc=3Dcom')</span><span lang=3D"EN-US"><u= ></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D= "font-size:10.5pt;font-family:"Calibri","sans-serif";co= lor:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 print result</span><span lang= =3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span lang=3D"EN= -US" style=3D"font-size:10.5pt;font-family:"Calibri","sans-s= erif";color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 notDone =3D dateti= me.now() < endTime</span><span lang=3D"EN-US"><u></u><u></u></span></p><= p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.5pt;font-f= amily:"Calibri","sans-serif";color:#1f497d">=C2=A0</spa= n><span lang=3D"EN-US"><u></u><u></u></span></p></div></div></div></div></d= iv></div></div></div></div></div></div></div></div></div><p class=3D"MsoNor= mal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-US"><br>--------------= ----------------------------------------------------------------<br>Find an= d fix application performance issues faster with Applications Manager<br>Ap= plications Manager provides deep performance insights into multiple tiers o= f<br>your business applications. It resolves application problems quickly a= nd<br>reduces your MTTR. Get your free trial!<br><a href=3D"https://ad.doub= leclick.net/ddm/clk/302982198;130105516;z" target=3D"_blank">https://ad.dou= bleclick.net/ddm/clk/302982198;130105516;z</a><br>_________________________= ______________________<br>grinder-use mailing list<br><a href=3D"mailto:gri= [email protected]" target=3D"_blank">[email protected]= orge.net</a><br><a href=3D"https://lists.sourceforge.net/lists/listinfo/gri= nder-use" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/gr= inder-use</a><u></u><u></u></span></p></div><p class=3D"MsoNormal"><span la= ng=3D"EN-US"><u></u>=C2=A0<u></u></span></p></div></div></div></div></div><= /div></div></div></div></div></div><br>------------------------------------= ------------------------------------------<br> Find and fix application performance issues faster with Applications Manage= r<br> Applications Manager provides deep performance insights into multiple tiers= of<br> your business applications. It resolves application problems quickly and<br= > reduces your MTTR. Get your free trial!<br> <a href=3D"https://ad.doubleclick.net/ddm/clk/302982198;130105516;z" rel=3D= "noreferrer" target=3D"_blank">https://ad.doubleclick.net/ddm/clk/302982198= ;130105516;z</a><br>_______________________________________________<br> grinder-use mailing list<br> <a href=3D"mailto:[email protected]">[email protected]= ceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D= "noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo= /grinder-use</a><br> <br></blockquote></div> --001a113cc26cac57a60530e1a64d-- --===============4861759059949500403== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z --===============4861759059949500403== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use --===============4861759059949500403==--