Re: Grinder test result not data
Gang Yan <[email protected]> Tue, 19 Apr 2016 18:38:43 -0700 (PDT)
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <28d4523e-c1f9-4e5c-a000-85c3f45568e0@default> |
--===============6765891859813863952== Content-Type: multipart/alternative; boundary="__14611163273596202abhmp0003.oracle.com" --__14611163273596202abhmp0003.oracle.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Joel =C2=A0 Thanks you reply! =C2=A0 I have question:=C2=A0 you mean add =C2=A0grinder.statistics to test script= ?=C2=A0=20 =C2=A0 Thanks! =C2=A0 =C2=A0 From: Joel Lucuik [mailto:[email protected]]=20 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 =C2=A0 Hi all, Just an update. We solved this by realizing this was asynchronous, and that doesn't work we= ll with Grinder. So referencing this:=20 http://grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver.py ..And using grinder.statistics for the reporting and queues to count receiv= ed messages, and we send the times in the payload. This is working well. Joel =C2=A0 On Tue, Apr 19, 2016 at 6:12 AM, Gang Yan <HYPERLINK "mailto:yan.gang@oracl= e.com" \[email protected]> wrote: Hi all: =C2=A0 I run=C2=A0 grinder testing LDAP stress test. But not test data after finis= hing test. See test data log:=C2=A0 Thanks! =C2=A0 more uapgv4041.us.oracle.com-0-data.log Thread, Run, Test, Start time (ms since Epoch), Test time, Errors =C2=A0 more uapgv4041.us.oracle.com-0.log 2016-04-19 09:32:15,773 INFO=C2=A0 com-0 : The Grinder version 3.11 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, mixed mode) on = Linux amd64 3.8.13-118.3.2.el6uek.x86_64 2016-04-19 09:32:15,781 INFO=C2=A0 com-0 : time zone is UTC (+0000) 2016-04-19 09:32:15,898 INFO=C2=A0 com-0 : worker process 0 2016-04-19 09:32:15,953 INFO=C2=A0 com-0 : instrumentation agents: byte cod= e transforming instrumenter for Jython 2.5; byte code transforming instrume= nter for Java 2016-04-19 09:32:18,611 INFO=C2=A0 com-0 : run mode is continuous, duration= is 0:10:00 2016-04-19 09:32:18,611 INFO=C2=A0 com-0 : running "test_ldap.py" using Jyt= hon 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=C2=A0 com-0 thread-5: starting, will do 1 run 2016-04-19 09:32:18,658 INFO=C2=A0 com-0 thread-4: starting, will do 1 run 2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-3: starting, will do 1 run 2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-2: starting, will do 1 run 2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-1: starting, will do 1 run 2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-0: starting, will do 1 run 2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-6: starting, will do 1 run 2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-7: starting, will do 1 run 2016-04-19 09:32:18,660 INFO=C2=A0 com-0 thread-8: starting, will do 1 run 2016-04-19 09:32:18,660 INFO=C2=A0 com-0 thread-9: starting, will do 1 run 2016-04-19 09:32:18,660 INFO=C2=A0 com-0 : start time is 1461058338660 ms s= ince Epoch 2016-04-19 09:42:18,713 INFO=C2=A0 com-0 thread-9: finished 1 run 2016-04-19 09:42:18,713 INFO=C2=A0 com-0 thread-4: finished 1 run 2016-04-19 09:42:18,754 INFO=C2=A0 com-0 thread-5: finished 1 run 2016-04-19 09:42:18,788 INFO=C2=A0 com-0 thread-1: finished 1 run 2016-04-19 09:42:18,842 INFO=C2=A0 com-0 thread-8: finished 1 run 2016-04-19 09:42:18,843 INFO=C2=A0 com-0 thread-6: finished 1 run 2016-04-19 09:42:18,871 INFO=C2=A0 com-0 thread-2: finished 1 run 2016-04-19 09:42:18,888 INFO=C2=A0 com-0 thread-3: finished 1 run 2016-04-19 09:42:18,928 INFO=C2=A0 com-0 thread-7: finished 1 run 2016-04-19 09:42:18,930 INFO=C2=A0 com-0 thread-0: finished 1 run 2016-04-19 09:42:18,930 INFO=C2=A0 com-0 : elapsed time is 600270 ms 2016-04-19 09:42:18,930 INFO=C2=A0 com-0 : Final statistics for this proces= s: 2016-04-19 09:42:18,937 INFO=C2=A0 com-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 Te= sts=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 =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 =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 =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) =C2=A0 =C2=A0 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 =C2=A0 =C2=A0 Tests resulting in error only contribute to the Errors column. =C2=A0 Statistics for individual tests can be found in the data file, inclu= ding =C2=A0 (possibly incomplete) statistics for erroneous tests. Composite test= s =C2=A0 are marked with () and not included in the totals. =C2=A0 =C2=A0 My test script: =C2=A0 more test_ldap.py # The sorting test supports a configurable array length. # It runs the JavaTest.sort method of the JavaTest class. =C2=A0 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 =C2=A0 ######################################## # # main body of test script starts here # ######################################## =C2=A0 # Get the propeties to access test configuration information properties =3D grinder.getProperties() =C2=A0 # The description is a property (instead of a hardcoded string in this scri= pt) test =3D Test(1, properties.get("javatest.description")) =C2=A0 # select the method for which to collect information #test.record(WriteMulitpleLittleFile.write) =C2=A0 # initialize data for compressing #fileName =3D properties.get("javatest.fileToCompress") #HYPERLINK "http://grinder.logger.info" \ngrinder.logger.info("data file to= compress is " + fileName) #JavaTest.initializeCompression(fileName) =C2=A0 # If the run mode is runOnce, the TestRunner class will # run once.=C2=A0 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": =C2=A0 # figure out how long to run the test =C2=A0 m =3D int(properties.getProperty("javatest.durationMinutes", "0")) =C2=A0 h =3D int(properties.getProperty("javatest.durationHours", "0")) =C2=A0 d =3D int(properties.getProperty("javatest.durationDays", "0")) =C2=A0 duration =3D timedelta(minutes=3Dm,hours=3Dh,days=3Dd) =C2=A0 HYPERLINK "http://grinder.logger.info" \ngrinder.logger.info("run mo= de is continuous, duration is " + str(duration)) elif runMode =3D=3D "runOnce": =C2=A0 HYPERLINK "http://grinder.logger.info" \ngrinder.logger.info("run mo= de is run once") =C2=A0 duration =3D timedelta(minutes=3D0) else: =C2=A0 HYPERLINK "http://grinder.logger.info" \ngrinder.logger.info("run mo= de not set or not recongized, default to run once") =C2=A0 duration =3D timedelta(minutes=3D0) =C2=A0 ######################################## # # The TestRunner class is used by The Grinder to perform the test # ######################################## =C2=A0 class TestRunner: =C2=A0 def __call__(self): =C2=A0=C2=A0=C2=A0 endTime =3D datetime.now() + duration =C2=A0=C2=A0=C2=A0 notDone =3D True =C2=A0=C2=A0=C2=A0 while notDone: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 os.environ['ORACLE_HOME'] =3D "/u03/Middlewa= re/Oracle_IDM" =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from commands import getoutput =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 result =3D getoutput( '/u03/Middleware/Oracl= e_IDM/bin/ldapsearch -a always -D cn=3Dorcladmin -w welcome1 -p 3060 -b "" = -s sub "objectclass=3D*" orcldirectoryversion ou=3DGroups Privilege, cn=3DO= peratio nURLs,cn=3DDAS,cn=3DProducts,cn=3DOracleContext,dc=3Dcn,dc=3Doracle,dc=3Dco= m') =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 print result =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 notDone =3D datetime.now() < endTime =C2=A0 ---------------------------------------------------------------------------= --- Find and fix application performance issues faster with Applications Manage= r 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 HYPERLINK "mailto:[email protected]"[email protected]= eforge.net https://lists.sourceforge.net/lists/listinfo/grinder-use =C2=A0 --__14611163273596202abhmp0003.oracle.com Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft= Word 12 (filtered medium)"><style><!-- /* Font Definitions */ @font-face =09{font-family:=E5=AE=8B=E4=BD=93; =09panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face =09{font-family:"Cambria Math"; =09panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face =09{font-family:Calibri; =09panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face =09{font-family:Tahoma; =09panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face =09{font-family:"\@=E5=AE=8B=E4=BD=93"; =09panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:=E5=AE=8B=E4=BD=93;} a:link, span.MsoHyperlink =09{mso-style-priority:99; =09color:blue; =09text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{mso-style-priority:99; =09color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-reply; =09font-family:"Calibri","sans-serif"; =09color:#1F497D;} .MsoChpDefault =09{mso-style-type:export-only;} @page WordSection1 =09{size:612.0pt 792.0pt; =09margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.WordSection1 =09{page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DZH-CN link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-= US>Hi Joel<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US sty= le=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o= :p> </o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'= font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks y= ou reply!<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US styl= e=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:= p> </o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'f= ont-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>I have qu= estion:=C2=A0 you mean add =C2=A0grinder.statistics to test script?=C2=A0 <= o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-= size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </= o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:1= 0.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks!<o:p></o:p><= /span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:10.5pt= ;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span>= </p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:10.5pt;font-= family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><d= iv style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0c= m 0cm'><p class=3DMsoNormal><b><span lang=3DEN-US style=3D'font-size:10.0pt= ;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=3DEN-US styl= e=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Joel Lucuik [mail= to:[email protected]] <br><b>Sent:</b> 2016</span><span style=3D'font-s= ize:10.0pt'>=E5=B9=B4</span><span lang=3DEN-US style=3D'font-size:10.0pt;fo= nt-family:"Tahoma","sans-serif"'>4</span><span style=3D'font-size:10.0pt'>= =E6=9C=88</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"T= ahoma","sans-serif"'>19</span><span style=3D'font-size:10.0pt'>=E6=97=A5</s= pan><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Tahoma","sans= -serif"'> 19:36<br><b>To:</b> grinder-use<br><b>Subject:</b> Re: [Grinder-u= se] Grinder test result not data<o:p></o:p></span></p></div><p class=3DMsoN= ormal><span lang=3DEN-US><o:p> </o:p></span></p><div><div><div><div><d= iv><div><div><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span lang= =3DEN-US>Hi all,<o:p></o:p></span></p></div><p class=3DMsoNormal style=3D'm= argin-bottom:12.0pt'><span lang=3DEN-US>Just an update.<o:p></o:p></span></= p></div><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span lang=3DEN= -US>We solved this by realizing this was asynchronous, and that doesn't wor= k well with Grinder.<o:p></o:p></span></p></div><p class=3DMsoNormal style= =3D'margin-bottom:12.0pt'><span lang=3DEN-US>So referencing this: <br><br><= a href=3D"http://grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver= .py">http://grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver.py</= a><o:p></o:p></span></p></div><p class=3DMsoNormal style=3D'margin-bottom:1= 2.0pt'><span lang=3DEN-US>..And using grinder.statistics for the reporting = and queues to count received messages, and we send the times in the payload= .<o:p></o:p></span></p></div><p class=3DMsoNormal style=3D'margin-bottom:12= .0pt'><span lang=3DEN-US>This is working well.<o:p></o:p></span></p></div><= p class=3DMsoNormal><span lang=3DEN-US>Joel<o:p></o:p></span></p><div><div>= <div><div><div><div><div><div><p class=3DMsoNormal><span lang=3DEN-US><o:p>= </o:p></span></p><div><p class=3DMsoNormal><span lang=3DEN-US>On Tue,= Apr 19, 2016 at 6:12 AM, Gang Yan <<a href=3D"mailto:[email protected]= m" target=3D"_blank">[email protected]</a>> wrote:<o:p></o:p></span></= p><div><div><div><div><div><div><div><div><div><div><div><div><div><div><p = class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:au= to'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","san= s-serif";color:#1F497D'>Hi all:</span><span lang=3DEN-US><o:p></o:p></span>= </p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom= -alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibr= i","sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p><= /span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-= bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"= Calibri","sans-serif";color:#1F497D'>I run grinder testing LDAP stres= s test. But not test data after finishing test. See test data log: Th= anks!</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal s= tyle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN= -US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F4= 97D'> </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNo= rmal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lan= g=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";colo= r:#1F497D'>more uapgv4041.us.oracle.com-0-data.log</span><span lang=3DEN-US= ><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:aut= o;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;= font-family:"Calibri","sans-serif";color:#1F497D'>Thread, Run, Test, Start = time (ms since Epoch), Test time, Errors</span><span lang=3DEN-US><o:p></o:= p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-marg= in-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-famil= y:"Calibri","sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:= p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;ms= o-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font= -family:"Calibri","sans-serif";color:#1F497D'>more uapgv4041.us.oracle.com-= 0.log</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal s= tyle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN= -US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F4= 97D'>2016-04-19 09:32:15,773 INFO com-0 : The Grinder version 3.11</s= pan><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'= mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US styl= e=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>201= 6-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) on Lin= ux amd64 3.8.13-118.3.2.el6uek.x86_64</span><span lang=3DEN-US><o:p></o:p><= /span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-= bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"= Calibri","sans-serif";color:#1F497D'>2016-04-19 09:32:15,781 INFO com= -0 : time zone is UTC (+0000)</span><span lang=3DEN-US><o:p></o:p></span></= p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri"= ,"sans-serif";color:#1F497D'>2016-04-19 09:32:15,898 INFO com-0 : wor= ker process 0</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMso= Normal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span l= ang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";co= lor:#1F497D'>2016-04-19 09:32:15,953 INFO com-0 : instrumentation age= nts: byte code transforming instrumenter for Jython 2.5; byte code transfor= ming instrumenter for Java</span><span lang=3DEN-US><o:p></o:p></span></p><= p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:= auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","s= ans-serif";color:#1F497D'>2016-04-19 09:32:18,611 INFO com-0 : run mo= de is continuous, duration is 0:10:00</span><span lang=3DEN-US><o:p></o:p><= /span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-= bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"= Calibri","sans-serif";color:#1F497D'>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)</span><span lang=3DEN-US><o:p></o:p></span></p><p = class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:au= to'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","san= s-serif";color:#1F497D'>[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporat= ion)]</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal s= tyle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN= -US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F4= 97D'>2016-04-19 09:32:18,658 INFO com-0 thread-5: starting, will do 1= run</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal st= yle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-= US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F49= 7D'>2016-04-19 09:32:18,658 INFO com-0 thread-4: starting, will do 1 = run</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal sty= le=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-U= S style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497= D'>2016-04-19 09:32:18,659 INFO com-0 thread-3: starting, will do 1 r= un</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal styl= e=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US= style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D= '>2016-04-19 09:32:18,659 INFO com-0 thread-2: starting, will do 1 ru= n</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,659 INFO com-0 thread-1: starting, will do 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,659 INFO com-0 thread-0: starting, will do 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,659 INFO com-0 thread-6: starting, will do 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,659 INFO com-0 thread-7: starting, will do 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,660 INFO com-0 thread-8: starting, will do 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,660 INFO com-0 thread-9: starting, will do 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:32:18,660 INFO com-0 : start time is 1461058338660 ms = since Epoch</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNo= rmal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lan= g=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";colo= r:#1F497D'>2016-04-19 09:42:18,713 INFO com-0 thread-9: finished 1 ru= n</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:42:18,713 INFO com-0 thread-4: finished 1 run</span><s= pan lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-ma= rgin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'f= ont-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>2016-04-1= 9 09:42:18,754 INFO com-0 thread-5: finished 1 run</span><span lang= =3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top= -alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size= :10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>2016-04-19 09:42:= 18,788 INFO com-0 thread-1: finished 1 run</span><span lang=3DEN-US><= o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;= mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;fo= nt-family:"Calibri","sans-serif";color:#1F497D'>2016-04-19 09:42:18,842 INF= O com-0 thread-8: finished 1 run</span><span lang=3DEN-US><o:p></o:p>= </span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin= -bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:= "Calibri","sans-serif";color:#1F497D'>2016-04-19 09:42:18,843 INFO co= m-0 thread-6: finished 1 run</span><span lang=3DEN-US><o:p></o:p></span></p= ><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-al= t:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1F497D'>2016-04-19 09:42:18,871 INFO com-0 thread= -2: finished 1 run</span><span lang=3DEN-US><o:p></o:p></span></p><p class= =3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><= span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-ser= if";color:#1F497D'>2016-04-19 09:42:18,888 INFO com-0 thread-3: finis= hed 1 run</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNorm= al style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang= =3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color= :#1F497D'>2016-04-19 09:42:18,928 INFO com-0 thread-7: finished 1 run= </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >2016-04-19 09:42:18,930 INFO com-0 thread-0: finished 1 run</span><s= pan lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-ma= rgin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'f= ont-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>2016-04-1= 9 09:42:18,930 INFO com-0 : elapsed time is 600270 ms</span><span lan= g=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-to= p-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-siz= e:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>2016-04-19 09:42= :18,930 INFO com-0 : Final statistics for this process:</span><span l= ang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-= top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>2016-04-19 09:= 42:18,937 INFO com-0 :</span><span lang=3DEN-US><o:p></o:p></span></p= ><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-al= t:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1F497D'>  = ; Tests E= rrors Mean Test Test = Time TPS</span><span lang=3DEN-US><o:p></o:p></span></p><= p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:= auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","s= ans-serif";color:#1F497D'> &= nbsp; &nbs= p; &= nbsp; Time (ms) Standard</span><s= pan lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-ma= rgin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'f= ont-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> &nb= sp; = &nb= sp; = De= viation</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal= style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3D= EN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1= F497D'> &n= bsp;  = ; &n= bsp;  = ; (ms)</span><span lang=3DEN-US><o:p></o:p></span></p><p class= =3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><= span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-ser= if";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p></span></p><p= class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:a= uto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sa= ns-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p></span>= </p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom= -alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibr= i","sans-serif";color:#1F497D'>Totals 0= 0 &= nbsp; - &n= bsp; 0.00 = 0.00</span><span lang=3DEN-US><o:p></o:p></s= pan></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bo= ttom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o= :p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-mar= gin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-fami= ly:"Calibri","sans-serif";color:#1F497D'> Tests resulting in error on= ly contribute to the Errors column.</span><span lang=3DEN-US><o:p></o:p></s= pan></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bo= ttom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1F497D'> Statistics for individual tests c= an be found in the data file, including</span><span lang=3DEN-US><o:p></o:p= ></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margi= n-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family= :"Calibri","sans-serif";color:#1F497D'> (possibly incomplete) statist= ics for erroneous tests. Composite tests</span><span lang=3DEN-US><o:p></o:= p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-marg= in-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-famil= y:"Calibri","sans-serif";color:#1F497D'> are marked with () and not i= ncluded in the totals.</span><span lang=3DEN-US><o:p></o:p></span></p><p cl= ass=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto= '><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p></span></p= ><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-al= t:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p></sp= an></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bot= tom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Cal= ibri","sans-serif";color:#1F497D'>My test script:</span><span lang=3DEN-US>= <o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto= ;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;f= ont-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=3D= EN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-al= t:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10= .5pt;font-family:"Calibri","sans-serif";color:#1F497D'>more test_ldap.py</s= pan><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'= mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US styl= e=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'># T= he sorting test supports a configurable array length.</span><span lang=3DEN= -US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:= auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5= pt;font-family:"Calibri","sans-serif";color:#1F497D'># It runs the JavaTest= .sort method of the JavaTest class.</span><span lang=3DEN-US><o:p></o:p></s= pan></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bo= ttom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Ca= libri","sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o= :p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-mar= gin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-fami= ly:"Calibri","sans-serif";color:#1F497D'>from net.grinder.script.Grinder im= port grinder</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoN= ormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span la= ng=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";col= or:#1F497D'>from net.grinder.script import Test</span><span lang=3DEN-US><o= :p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;m= so-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;fon= t-family:"Calibri","sans-serif";color:#1F497D'>from datetime import datetim= e</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= >from datetime import timedelta</span><span lang=3DEN-US><o:p></o:p></span>= </p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom= -alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibr= i","sans-serif";color:#1F497D'>import os</span><span lang=3DEN-US><o:p></o:= p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-marg= in-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-famil= y:"Calibri","sans-serif";color:#1F497D'>import sys</span><span lang=3DEN-US= ><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:aut= o;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;= font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang= =3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top= -alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size= :10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>#################= #######################</span><span lang=3DEN-US><o:p></o:p></span></p><p c= lass=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:aut= o'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans= -serif";color:#1F497D'>#</span><span lang=3DEN-US><o:p></o:p></span></p><p = class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:au= to'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","san= s-serif";color:#1F497D'># main body of test script starts here</span><span = lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin= -top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-= size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>#</span><span= lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margi= n-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font= -size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>############= ############################</span><span lang=3DEN-US><o:p></o:p></span></p= ><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-al= t:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p></sp= an></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bot= tom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Cal= ibri","sans-serif";color:#1F497D'># Get the propeties to access test config= uration information</span><span lang=3DEN-US><o:p></o:p></span></p><p class= =3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><= span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-ser= if";color:#1F497D'>properties =3D grinder.getProperties()</span><span lang= =3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top= -alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size= :10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><spa= n lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-marg= in-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'fon= t-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'># The descr= iption is a property (instead of a hardcoded string in this script)</span><= span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-m= argin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'= font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>test =3D= Test(1, properties.get("javatest.description"))</span><span lang= =3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top= -alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size= :10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><spa= n lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-marg= in-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'fon= t-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'># select th= e method for which to collect information</span><span lang=3DEN-US><o:p></o= :p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-mar= gin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-fami= ly:"Calibri","sans-serif";color:#1F497D'>#test.record(WriteMulitpleLittleFi= le.write)</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNorm= al style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang= =3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color= :#1F497D'> </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3D= MsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><spa= n lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"= ;color:#1F497D'># initialize data for compressing</span><span lang=3DEN-US>= <o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto= ;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;f= ont-family:"Calibri","sans-serif";color:#1F497D'>#fileName =3D properties.g= et("javatest.fileToCompress")</span><span lang=3DEN-US><o:p></o:p= ></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margi= n-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family= :"Calibri","sans-serif";color:#1F497D'>#<a href=3D"http://grinder.logger.in= fo" target=3D"_blank">grinder.logger.info</a>("data file to compress i= s " + fileName)</span><span lang=3DEN-US><o:p></o:p></span></p><p clas= s=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>= <span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-se= rif";color:#1F497D'>#JavaTest.initializeCompression(fileName)</span><span l= ang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-= top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><= span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-m= argin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'= font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'># If the= run mode is runOnce, the TestRunner class will</span><span lang=3DEN-US><o= :p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;m= so-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;fon= t-family:"Calibri","sans-serif";color:#1F497D'># run once. Otherwise,= if the run mode is continuous,</span><span lang=3DEN-US><o:p></o:p></span>= </p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom= -alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibr= i","sans-serif";color:#1F497D'># the TestRunner class will run the test for= at least</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNorm= al style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang= =3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color= :#1F497D'># the specified duration (but possibly longer)</span><span lang= =3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top= -alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size= :10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>runMode =3D prope= rties.get("javatest.runMode")</span><span lang=3DEN-US><o:p></o:p= ></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margi= n-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family= :"Calibri","sans-serif";color:#1F497D'>#WriteMulitpleLittleFile.setParamete= rs(dir, fileSize...)</span><span lang=3DEN-US><o:p></o:p></span></p><p clas= s=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>= <span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-se= rif";color:#1F497D'>if runMode =3D=3D "continuous":</span><span l= ang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-= top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-s= ize:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> # figur= e out how long to run the test</span><span lang=3DEN-US><o:p></o:p></span><= /p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-= alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri= ","sans-serif";color:#1F497D'> m =3D int(properties.getProperty("= ;javatest.durationMinutes", "0"))</span><span lang=3DEN-US><= o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;= mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;fo= nt-family:"Calibri","sans-serif";color:#1F497D'> h =3D int(properties= .getProperty("javatest.durationHours", "0"))</span><spa= n lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-marg= in-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'fon= t-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> d = =3D int(properties.getProperty("javatest.durationDays", "0&q= uot;))</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DE= N-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F= 497D'> duration =3D timedelta(minutes=3Dm,hours=3Dh,days=3Dd)</span><= span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-m= argin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'= font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> <= a href=3D"http://grinder.logger.info" target=3D"_blank">grinder.logger.info= </a>("run mode is continuous, duration is " + str(duration))</spa= n><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'ms= o-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style= =3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>elif= runMode =3D=3D "runOnce":</span><span lang=3DEN-US><o:p></o:p></= span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-b= ottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"C= alibri","sans-serif";color:#1F497D'> <a href=3D"http://grinder.logger= .info" target=3D"_blank">grinder.logger.info</a>("run mode is run once= ")</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal= style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3D= EN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1= F497D'> duration =3D timedelta(minutes=3D0)</span><span lang=3DEN-US>= <o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto= ;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;f= ont-family:"Calibri","sans-serif";color:#1F497D'>else:</span><span lang=3DE= N-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt= :auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.= 5pt;font-family:"Calibri","sans-serif";color:#1F497D'> <a href=3D"htt= p://grinder.logger.info" target=3D"_blank">grinder.logger.info</a>("ru= n mode not set or not recongized, default to run once")</span><span la= ng=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-t= op-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-si= ze:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> duration= =3D timedelta(minutes=3D0)</span><span lang=3DEN-US><o:p></o:p></span></p>= <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","= sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p></spa= n></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bott= om-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Cali= bri","sans-serif";color:#1F497D'>########################################</= span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D= 'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US sty= le=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>#<= /span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US = style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'= ># The TestRunner class is used by The Grinder to perform the test</span><s= pan lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-ma= rgin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'f= ont-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>#</span><= span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-m= argin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'= font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>########= ################################</span><span lang=3DEN-US><o:p></o:p></span= ></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-botto= m-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calib= ri","sans-serif";color:#1F497D'> </span><span lang=3DEN-US><o:p></o:p>= </span></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin= -bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:= "Calibri","sans-serif";color:#1F497D'>class TestRunner:</span><span lang=3D= EN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-al= t:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10= .5pt;font-family:"Calibri","sans-serif";color:#1F497D'> def __call__(= self):</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DE= N-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F= 497D'> endTime =3D datetime.now() + duration</span><span = lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin= -top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-= size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> &= nbsp; notDone =3D True</span><span lang=3DEN-US><o:p></o:p></span></p><p cl= ass=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto= '><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-= serif";color:#1F497D'> while notDone:</span><span lang=3D= EN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-margin-top-al= t:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'font-size:10= .5pt;font-family:"Calibri","sans-serif";color:#1F497D'> &n= bsp; os.environ['ORACLE_HOME'] =3D "/u03/Middleware/Oracle_IDM&q= uot;</span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal st= yle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-= US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F49= 7D'> </span><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNor= mal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang= =3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color= :#1F497D'> from commands import getoutput</sp= an><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'm= so-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style= =3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbs= p; result =3D getoutput( '/u03/Middleware/Oracle_ID= M/bin/ldapsearch -a always -D cn=3Dorcladmin -w welcome1 -p 3060 -b "&= quot; -s sub "objectclass=3D*" orcldirectoryversion ou=3DGroups P= rivilege, cn=3DOperatio</span><span lang=3DEN-US><o:p></o:p></span></p><p c= lass=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:aut= o'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri","sans= -serif";color:#1F497D'>nURLs,cn=3DDAS,cn=3DProducts,cn=3DOracleContext,dc= =3Dcn,dc=3Doracle,dc=3Dcom')</span><span lang=3DEN-US><o:p></o:p></span></p= ><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-al= t:auto'><span lang=3DEN-US style=3D'font-size:10.5pt;font-family:"Calibri",= "sans-serif";color:#1F497D'> print result</sp= an><span lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'm= so-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style= =3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbs= p; notDone =3D datetime.now() < endTime</span><s= pan lang=3DEN-US><o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-ma= rgin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US style=3D'f= ont-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> </s= pan><span lang=3DEN-US><o:p></o:p></span></p></div></div></div></div></div>= </div></div></div></div></div></div></div></div></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><span lang=3DEN-US><br>---------------------= ---------------------------------------------------------<br>Find and fix a= pplication performance issues faster with Applications Manager<br>Applicati= ons Manager provides deep performance insights into multiple tiers of<br>yo= ur business applications. It resolves application problems quickly and<br>r= educes your MTTR. Get your free trial!<br><a href=3D"https://ad.doubleclick= .net/ddm/clk/302982198;130105516;z" target=3D"_blank">https://ad.doubleclic= k.net/ddm/clk/302982198;130105516;z</a><br>________________________________= _______________<br>grinder-use mailing list<br><a href=3D"mailto:grinder-us= [email protected]">[email protected]</a><br><a href= =3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" target=3D"_bl= ank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><o:p></o:p= ></span></p></div><p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p>= </span></p></div></div></div></div></div></div></div></div></div></div></bo= dy></html> --__14611163273596202abhmp0003.oracle.com-- --===============6765891859813863952== 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 --===============6765891859813863952== 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 --===============6765891859813863952==--