Re: Grinder test result not data

Joel Lucuik <[email protected]> Thu, 21 Apr 2016 08:03:21 -0400
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAA4qVT+sgve_xGf1S74qFuwxOBj214PKT2veQ_xa5Nw=+VtqbA@mail.gmail.com>
--===============9072008354036324793==
Content-Type: multipart/alternative; boundary=94eb2c03574e22b2fe0530fd7f43

--94eb2c03574e22b2fe0530fd7f43
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

1. What is the error?

2. I suggest you compare your code to the example I posted from
sourceforge.

Off the top of my head, I don't see anyone calling "recordconnTimeout"

Joel

On Wed, Apr 20, 2016 at 10:41 PM, Gang Yan <[email protected]> wrote:

> Hi Joel
>
> I try grinder.statistics.registerSummaryExpression, but still error:
>
> Thread, Run, Test, Start time (ms since Epoch), Test time, Errors
>
> *Test script:*
>
> grinder.statistics.registerSummaryExpression("connTimeout", "userLong4")
>
> class TestRunner:
> def __call__(self):
> endTime =3D datetime.now() + duration
> notDone =3D True
> while notDone:
> notDone =3D datetime.now() < endTime
>
> os.environ['ORACLE_HOME'] =3D "/u03/Middleware/Oracle_IDM"
> from commands import getoutput
> result =3D getoutput( '/u03/Middleware/Oracle_IDM/bin/ldapsearch -a alway=
s
> -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
>
> def recordconnTimeout(connTimeout):
> grinder.statistics.forCurrentTest.setValue("userLong4", connTimeout)
>
>
>
>
>
>
>
> *From:* Joel Lucuik [mailto:[email protected]]
> *Sent:* 2016=E5=B9=B44=E6=9C=8821=E6=97=A5 3:02
> *To:* grinder-use
> *Subject:* Re: [Grinder-use] Grinder test result not data
>
>
>
> Try grinder.statistics.registerSummaryExpression("column name",
> "userLong4")
>
>
>
> On Wed, Apr 20, 2016 at 1:24 AM, Gang Yan <[email protected]> wrote:
>
> Test script:
>
>
>
> # 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"))
>
>
>
> # 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
>
> #
>
> ########################################
>
>
>
> grinder.statistics.registerDataLogExpression("TestTime", "userLong4")
>
>
>
> class TestRunner:
>
>   def __call__(self):
>
>     endTime =3D datetime.now() + duration
>
>     notDone =3D True
>
>     while notDone:
>
>       notDone =3D datetime.now() < endTime
>
>
>
>       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=3DOperationURLs,cn=3DDAS,cn=3DProducts,cn=3DOracleContex
>
> t,dc=3Dcn,dc=3Doracle,dc=3Dcom')
>
>       print result
>
>
>
>   def recordTestTime(TestTime):
>
>      grinder.statistics.forCurrentTest.setValue("userLong4", TestTime)
>
>
>
> *From:* Gang Yan
> *Sent:* 2016=E5=B9=B44=E6=9C=8820=E6=97=A5 11:16
> *To:* grinder-use
> *Subject:* Re: [Grinder-use] Grinder test result not data
>
>
>
> Hi Joel
>
> I  add grinder.statistics to test script
>
>
>
> grinder.statistics.registerDataLogExpression("TestTime", "userLong4")
>
>
>
> def recordTestTime(TestTime):
>
> grinder.statistics.forCurrentTest.setValue("userLong4", TestTime)
>
>
>
>
>
> But still not test data result .
>
>
>
> Thanks!
>
>
>
> *From:* Joel Lucuik [mailto:[email protected] <[email protected]>=
]
>
> *Sent:* 2016=E5=B9=B44=E6=9C=8820=E6=97=A5 10:50
> *To:* grinder-use
> *Subject:* Re: [Grinder-use] Grinder test result not data
>
>
>
> 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
>
>
>
> -------------------------------------------------------------------------=
-----
> 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
>
>

--94eb2c03574e22b2fe0530fd7f43
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>1. What is the error?<br><br></div>2. I sug=
gest you compare your code to the example I posted from sourceforge. <br><b=
r></div>Off the top of my head, I don&#39;t see anyone calling &quot;<span =
style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&=
quot;;color:rgb(31,73,125)" lang=3D"EN-US">recordconnTimeout&quot;<br><br><=
/span></div><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">Joel<br></span=
><div><div><div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">O=
n Wed, Apr 20, 2016 at 10:41 PM, Gang Yan <span dir=3D"ltr">&lt;<a href=3D"=
mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link=
=3D"blue" vlink=3D"purple" lang=3D"ZH-CN"><div><p class=3D"MsoNormal"><span=
 style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif=
&quot;;color:rgb(31,73,125)" lang=3D"EN-US">Hi Joel<u></u><u></u></span></p=
><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">I =
try grinder.statistics.registerSummaryExpression, but still error:<u></u><u=
></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font=
-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" la=
ng=3D"EN-US">Thread, Run, Test, Start time (ms since Epoch), Test time, Err=
ors<u></u><u></u></span></p><p class=3D"MsoNormal"><b><span style=3D"font-s=
ize:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb=
(31,73,125)" lang=3D"EN-US">Test script:<u></u><u></u></span></b></p><p cla=
ss=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&=
quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">grinder.s=
tatistics.registerSummaryExpression(&quot;connTimeout&quot;, &quot;userLong=
4&quot;)<br><br>class TestRunner:<br>def __call__(self):<br>endTime =3D dat=
etime.now() + duration<br>notDone =3D True<br>while notDone:<br>notDone =3D=
 datetime.now() &lt; endTime<br><br>os.environ[&#39;ORACLE_HOME&#39;] =3D &=
quot;/u03/Middleware/Oracle_IDM&quot;<br>from commands import getoutput<br>=
result =3D getoutput( &#39;/u03/Middleware/Oracle_IDM/bin/ldapsearch -a alw=
ays -D cn=3Dorcladmin -w welcome1 -p 3060 -b &quot;&quot; -s sub &quot;obje=
ctclass=3D*&quot; orcldirectoryversion ou=3DGroups Privilege, cn=3DOperatio=
<br>nURLs,cn=3DDAS,cn=3DProducts,cn=3DOracleContext,dc=3Dcn,dc=3Doracle,dc=
=3Dcom&#39;)<br>print result<br><br>def recordconnTimeout(connTimeout):<br>=
grinder.statistics.forCurrentTest.setValue(&quot;userLong4&quot;, connTimeo=
ut)<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size=
:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31=
,73,125)" lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNorm=
al"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;s=
ans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"><u></u>=C2=A0<u></u></=
span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"E=
N-US"><u></u>=C2=A0<u></u></span></p><div style=3D"border-width:1pt medium =
medium;border-style:solid none none;border-color:rgb(181,196,223) -moz-use-=
text-color -moz-use-text-color;padding:3pt 0cm 0cm"><p class=3D"MsoNormal">=
<b><span style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-=
serif&quot;" lang=3D"EN-US">From:</span></b><span style=3D"font-size:10pt;f=
ont-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US"> Joel =
Lucuik [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">j=
[email protected]</a>] <br><b>Sent:</b> 2016</span><span style=3D"font-s=
ize:10pt">=E5=B9=B4</span><span style=3D"font-size:10pt;font-family:&quot;T=
ahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">4</span><span style=3D"f=
ont-size:10pt">=E6=9C=88</span><span style=3D"font-size:10pt;font-family:&q=
uot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">21</span><span styl=
e=3D"font-size:10pt">=E6=97=A5</span><span style=3D"font-size:10pt;font-fam=
ily:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US"> 3:02<br><b>T=
o:</b> grinder-use<br><b>Subject:</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><p class=3D"MsoNormal"><span=
 lang=3D"EN-US">Try grinder.statistics.registerSummaryExpression(&quot;colu=
mn name&quot;, &quot;userLong4&quot;)<u></u><u></u></span></p></div><div><p=
 class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><d=
iv><p class=3D"MsoNormal"><span lang=3D"EN-US">On Wed, Apr 20, 2016 at 1:24=
 AM, Gang Yan &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a>&gt; wrote:<u></u><u></u></span></p><div><div><p cla=
ss=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&=
quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">Test scri=
pt:</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorm=
al"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;s=
ans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lan=
g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"=
font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;col=
or:rgb(31,73,125)" lang=3D"EN-US"># The sorting test supports a configurabl=
e array length.</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># 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 style=3D"font-size:10=
.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73=
,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></spa=
n></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-U=
S">from net.grinder.script.Grinder import grinder</span><span lang=3D"EN-US=
"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US">from net.grinder.script import Test</span><span lan=
g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"=
font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;col=
or:rgb(31,73,125)" lang=3D"EN-US">from datetime import datetime</span><span=
 lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">from datetime import timedelta</span>=
<span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span =
style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&=
quot;;color:rgb(31,73,125)" lang=3D"EN-US">import os</span><span lang=3D"EN=
-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-si=
ze:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(=
31,73,125)" lang=3D"EN-US">import sys</span><span lang=3D"EN-US"><u></u><u>=
</u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lan=
g=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p c=
lass=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibr=
i&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#######=
#################################</span><span lang=3D"EN-US"><u></u><u></u>=
</span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-fami=
ly:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D=
"EN-US">#</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"M=
soNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&=
quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># main body of t=
est script starts here</span><span lang=3D"EN-US"><u></u><u></u></span></p>=
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#</=
span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><=
span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-s=
erif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">###########################=
#############</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</spa=
n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># Get the propeties to access =
test configuration information</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN=
-US">properties =3D grinder.getProperties()</span><span lang=3D"EN-US"><u><=
/u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125=
)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></=
p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;=
Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#=
 The description is a property (instead of a hardcoded string in this scrip=
t)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorma=
l"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">test =3D Test(1, proper=
ties.get(&quot;javatest.description&quot;))</span><span lang=3D"EN-US"><u><=
/u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125=
)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></=
p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;=
Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#=
 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 style=3D"font-=
size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rg=
b(31,73,125)" lang=3D"EN-US"># run once.=C2=A0 Otherwise, if the run mode i=
s continuous,</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># the TestR=
unner 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 style=3D"font-size:10.5pt;=
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)=
" lang=3D"EN-US"># the specified duration (but possibly longer)</span><span=
 lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">runMode =3D properties.get(&quot;java=
test.runMode&quot;)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p =
class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#Write=
MulitpleLittleFile.setParameters(dir, fileSize...)</span><span lang=3D"EN-U=
S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size=
:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31=
,73,125)" lang=3D"EN-US">if runMode =3D=3D &quot;continuous&quot;:</span><s=
pan lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span st=
yle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&qu=
ot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 # figure out how long to ru=
n the test</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"=
MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 m =3D in=
t(properties.getProperty(&quot;javatest.durationMinutes&quot;, &quot;0&quot=
;))</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorm=
al"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;s=
ans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 h =3D int(prope=
rties.getProperty(&quot;javatest.durationHours&quot;, &quot;0&quot;))</span=
><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span=
 style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif=
&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 d =3D int(properties.get=
Property(&quot;javatest.durationDays&quot;, &quot;0&quot;))</span><span lan=
g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"=
font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;col=
or:rgb(31,73,125)" lang=3D"EN-US">=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 style=3D"font-size:10.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=
=A0 <a href=3D"http://grinder.logger.info" target=3D"_blank">grinder.logger=
.info</a>(&quot;run mode is continuous, duration is &quot; + str(duration))=
</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"=
><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans=
-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">elif runMode =3D=3D &quot=
;runOnce&quot;:</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 <a =
href=3D"http://grinder.logger.info" target=3D"_blank">grinder.logger.info</=
a>(&quot;run mode is run once&quot;)</span><span lang=3D"EN-US"><u></u><u><=
/u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-f=
amily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">=C2=A0 duration =3D timedelta(minutes=3D0)</span><span lang=3D"E=
N-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-s=
ize:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb=
(31,73,125)" lang=3D"EN-US">else:</span><span lang=3D"EN-US"><u></u><u></u>=
</span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-fami=
ly:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D=
"EN-US">=C2=A0 <a href=3D"http://grinder.logger.info" target=3D"_blank">gri=
nder.logger.info</a>(&quot;run mode not set or not recongized, default to r=
un once&quot;)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 dura=
tion =3D timedelta(minutes=3D0)</span><span lang=3D"EN-US"><u></u><u></u></=
span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"E=
N-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">###########=
#############################</span><span lang=3D"EN-US"><u></u><u></u></sp=
an></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-=
US">#</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNo=
rmal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># The TestRunner cla=
ss is used by The Grinder to perform the test</span><span lang=3D"EN-US"><u=
></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5=
pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,1=
25)" lang=3D"EN-US">#</span><span lang=3D"EN-US"><u></u><u></u></span></p><=
p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">####=
####################################</span><span lang=3D"EN-US"><u></u><u><=
/u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-f=
amily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cl=
ass=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri=
&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">grinder.=
statistics.registerDataLogExpression(&quot;TestTime&quot;, &quot;userLong4&=
quot;)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoN=
ormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span =
lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">class TestRunner:</span><span lang=3D=
"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font=
-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:r=
gb(31,73,125)" lang=3D"EN-US">=C2=A0 def __call__(self):</span><span lang=
=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0 endTime =3D datetime.no=
w() + duration</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=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 style=3D"font-size:10.5pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"=
>=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 style=3D"font-size:10.5pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 notDone =3D datetime.now() &lt; e=
ndTime</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoN=
ormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span =
lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 os.env=
iron[&#39;ORACLE_HOME&#39;] =3D &quot;/u03/Middleware/Oracle_IDM&quot;</spa=
n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 from commands import getoutput</span><span lang=3D"EN-US"><u></u><u></u></=
span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"E=
N-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 result =3D getoutput( &#39;/u03/Middle=
ware/Oracle_IDM/bin/ldapsearch -a always -D cn=3Dorcladmin -w welcome1 -p 3=
060 -b &quot;&quot; -s sub &quot;objectclass=3D*&quot; orcldirectoryversion=
 ou=3DGroups Privilege, cn=3DOperationURLs,cn=3DDAS,cn=3DProducts,cn=3DOrac=
leContex</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Ms=
oNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">t,dc=3Dcn,dc=3Dor=
acle,dc=3Dcom&#39;)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p =
class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=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 style=3D"font-size:10.5pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lan=
g=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p c=
lass=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibr=
i&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 =
def recordTestTime(TestTime):</span><span lang=3D"EN-US"><u></u><u></u></sp=
an></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-=
US">=C2=A0=C2=A0=C2=A0=C2=A0 grinder.statistics.forCurrentTest.setValue(&qu=
ot;userLong4&quot;, TestTime)</span><span lang=3D"EN-US"><u></u><u></u></sp=
an></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-=
US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><div><div st=
yle=3D"border-width:1pt medium medium;border-style:solid none none;border-c=
olor:rgb(181,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0=
cm 0cm"><p class=3D"MsoNormal"><b><span style=3D"font-size:10pt;font-family=
:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">From:</span></b>=
<span style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-ser=
if&quot;" lang=3D"EN-US"> Gang Yan <br><b>Sent:</b> 2016</span><span style=
=3D"font-size:10pt">=E5=B9=B4</span><span style=3D"font-size:10pt;font-fami=
ly:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">4</span><span =
style=3D"font-size:10pt">=E6=9C=88</span><span style=3D"font-size:10pt;font=
-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">20</span>=
<span style=3D"font-size:10pt">=E6=97=A5</span><span style=3D"font-size:10p=
t;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US"> 11=
:16<br><b>To:</b> grinder-use<br><b>Subject:</b> Re: [Grinder-use] Grinder =
test result not data</span><span lang=3D"EN-US"><u></u><u></u></span></p></=
div></div><p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0<u></u><u></u><=
/span></p><p class=3D"MsoNormal"><span lang=3D"EN-US">Hi Joel<u></u><u></u>=
</span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-fami=
ly:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D=
"EN-US">I=C2=A0 add grinder.statistics to test script</span><span lang=3D"E=
N-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-s=
ize:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb=
(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u=
></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">grinder.statistics.registerDataLogExpression(&quot;TestTime&quot=
;, &quot;userLong4&quot;)</span><span lang=3D"EN-US"><u></u><u></u></span><=
/p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=
=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoN=
ormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">def recordTestTime(=
TestTime):</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"=
MsoNormal" style=3D"text-indent:9pt"><span style=3D"font-size:10.5pt;font-f=
amily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">grinder.statistics.forCurrentTest.setValue(&quot;userLong4&quot;=
, TestTime)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D=
"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><=
span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span s=
tyle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&q=
uot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"=
><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:1=
0.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,7=
3,125)" lang=3D"EN-US">But still not test data result . </span><span lang=
=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><=
u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" l=
ang=3D"EN-US">Thanks!</span><span lang=3D"EN-US"><u></u><u></u></span></p><=
p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=
=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><div style=3D"borde=
r-width:1pt medium medium;border-style:solid none none;border-color:rgb(181=
,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0cm 0cm"><p c=
lass=3D"MsoNormal"><b><span style=3D"font-size:10pt;font-family:&quot;Tahom=
a&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">From:</span></b><span style=
=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" l=
ang=3D"EN-US"> Joel Lucuik [<a href=3D"mailto:[email protected]" target=
=3D"_blank">mailto:[email protected]</a>] <br><b>Sent:</b> 2016</span><=
span style=3D"font-size:10pt">=E5=B9=B4</span><span style=3D"font-size:10pt=
;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">4</s=
pan><span style=3D"font-size:10pt">=E6=9C=88</span><span style=3D"font-size=
:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US"=
>20</span><span style=3D"font-size:10pt">=E6=97=A5</span><span style=3D"fon=
t-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"=
EN-US"> 10:50<br><b>To:</b> grinder-use<br><b>Subject:</b> Re: [Grinder-use=
] Grinder test result not data</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p></div><p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0<u></u><u><=
/u></span></p><p><span lang=3D"EN-US">Yes.<u></u><u></u></span></p><p><span=
 lang=3D"EN-US">Check the script I included. It provides an example<u></u><=
u></u></span></p><p><span lang=3D"EN-US">Joel<u></u><u></u></span></p><div>=
<p class=3D"MsoNormal"><span lang=3D"EN-US">On Apr 19, 2016 9:43 PM, &quot;=
Gang Yan&quot; &lt;<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>&gt; wrote:<u></u><u></u></span></p><div><div><p cl=
ass=3D"MsoNormal"><span lang=3D"EN-US">Hi Joel<u></u><u></u></span></p><p c=
lass=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibr=
i&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0<=
/span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal">=
<span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">Thanks you reply!</span><s=
pan lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span st=
yle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&qu=
ot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US">=
<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10=
.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73=
,125)" lang=3D"EN-US">I have question:=C2=A0 you mean add =C2=A0grinder.sta=
tistics to test script?=C2=A0 </span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN=
-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D=
"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">Thanks!</span>=
<span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span =
style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&=
quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US=
"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><div style=3D"border-width:1pt medium medium;border-style:solid non=
e none;border-color:rgb(181,196,223) -moz-use-text-color -moz-use-text-colo=
r;padding:3pt 0cm 0cm"><p class=3D"MsoNormal"><b><span style=3D"font-size:1=
0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">F=
rom:</span></b><span style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;=
,&quot;sans-serif&quot;" lang=3D"EN-US"> Joel Lucuik [mailto:<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>] <br=
><b>Sent:</b> 2016</span><span style=3D"font-size:10pt">=E5=B9=B4</span><sp=
an style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&=
quot;" lang=3D"EN-US">4</span><span style=3D"font-size:10pt">=E6=9C=88</spa=
n><span style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-s=
erif&quot;" lang=3D"EN-US">19</span><span style=3D"font-size:10pt">=E6=97=
=A5</span><span style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quo=
t;sans-serif&quot;" lang=3D"EN-US"> 19:36<br><b>To:</b> grinder-use<br><b>S=
ubject:</b> Re: [Grinder-use] Grinder test result not data</span><span lang=
=3D"EN-US"><u></u><u></u></span></p></div><p class=3D"MsoNormal"><span lang=
=3D"EN-US">=C2=A0<u></u><u></u></span></p><div><div><div><div><div><div><di=
v><p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-US">=
Hi all,<u></u><u></u></span></p></div><p class=3D"MsoNormal" style=3D"margi=
n-bottom:12pt"><span lang=3D"EN-US">Just an update.<u></u><u></u></span></p=
></div><p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN=
-US">We solved this by realizing this was asynchronous, and that doesn&#39;=
t work well with Grinder.<u></u><u></u></span></p></div><p class=3D"MsoNorm=
al" style=3D"margin-bottom:12pt"><span lang=3D"EN-US">So referencing this: =
<br><br><a href=3D"http://grinder.sourceforge.net/g3/script-gallery.html#jm=
sreceiver.py" target=3D"_blank">http://grinder.sourceforge.net/g3/script-ga=
llery.html#jmsreceiver.py</a><u></u><u></u></span></p></div><p class=3D"Mso=
Normal" style=3D"margin-bottom:12pt"><span lang=3D"EN-US">..And using grind=
er.statistics for the reporting and queues to count received messages, and =
we send the times in the payload.<u></u><u></u></span></p></div><p class=3D=
"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-US">This is worki=
ng 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><di=
v><p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0<u></u><u></u></span></=
p><div><p class=3D"MsoNormal"><span lang=3D"EN-US">On Tue, Apr 19, 2016 at =
6:12 AM, Gang Yan &lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt; wrote:<u></u><u></u></span></p><div><div><d=
iv><div><div><div><div><div><div><div><div><div><div><div><p class=3D"MsoNo=
rmal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">Hi all:</span><span =
lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u>=
</u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5p=
t;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,12=
5)" lang=3D"EN-US">I run=C2=A0 grinder testing LDAP stress test. But not te=
st 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 style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u>=
</u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5p=
t;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,12=
5)" lang=3D"EN-US">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 style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">Thread, Run, Test, Start time (ms since Ep=
och), Test time, Errors</span><span lang=3D"EN-US"><u></u><u></u></span></p=
><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=
=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoN=
ormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">more uapgv4041.us.o=
racle.com-0.log</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">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 style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">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 Serv=
er VM (24.45-b08, mixed 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 style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-s=
erif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:32:15,781 INF=
O=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 style=3D"font-size:10.5pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" =
lang=3D"EN-US">2016-04-19 09:32:15,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 style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:32:15,953 IN=
FO=C2=A0 com-0 : instrumentation agents: byte code transforming instrumente=
r 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 style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:32:18,611 INFO=C2=A0 co=
m-0 : run mode is continuous, duration is 0:10:00</span><span lang=3D"EN-US=
"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US">2016-04-19 09:32:18,611 INFO=C2=A0 com-0 : running =
&quot;test_ldap.py&quot; using Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012=
, 14:54:35)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D=
"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">[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 style=3D"font-size:10.5pt;=
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)=
" lang=3D"EN-US">2016-04-19 09:32:18,658 INFO=C2=A0 com-0 thread-5: startin=
g, will do 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p cla=
ss=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&=
quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-1=
9 09:32:18,658 INFO=C2=A0 com-0 thread-4: starting, will do 1 run</span><sp=
an lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span sty=
le=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quo=
t;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:32:18,659 INFO=C2=A0 =
com-0 thread-3: starting, will do 1 run</span><span lang=3D"EN-US"><u></u><=
u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" l=
ang=3D"EN-US">2016-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 style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">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 style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:32:18,659 INFO=C2=A0 co=
m-0 thread-0: starting, will do 1 run</span><span lang=3D"EN-US"><u></u><u>=
</u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lan=
g=3D"EN-US">2016-04-19 09:32:18,659 INFO=C2=A0 com-0 thread-6: starting, wi=
ll do 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D=
"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:=
32:18,659 INFO=C2=A0 com-0 thread-7: starting, will do 1 run</span><span la=
ng=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D=
"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;co=
lor:rgb(31,73,125)" lang=3D"EN-US">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 style=3D"font-size:10.5pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">2016-04-19 09:32:18,660 INFO=C2=A0 com-0 thread-9: starting, wil=
l do 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"=
MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:3=
2:18,660 INFO=C2=A0 com-0 : start time is 1461058338660 ms since Epoch</spa=
n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;;color:rgb(31,73,125)" lang=3D"EN-US">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 style=3D"font-size:10.5pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lan=
g=3D"EN-US">2016-04-19 09:42:18,713 INFO=C2=A0 com-0 thread-4: finished 1 r=
un</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorma=
l"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:42:18,754=
 INFO=C2=A0 com-0 thread-5: finished 1 run</span><span lang=3D"EN-US"><u></=
u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;=
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)=
" lang=3D"EN-US">2016-04-19 09:42:18,788 INFO=C2=A0 com-0 thread-1: finishe=
d 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Mso=
Normal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&qu=
ot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:42:1=
8,842 INFO=C2=A0 com-0 thread-8: finished 1 run</span><span lang=3D"EN-US">=
<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10=
.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73=
,125)" lang=3D"EN-US">2016-04-19 09:42:18,843 INFO=C2=A0 com-0 thread-6: fi=
nished 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 =
09:42:18,871 INFO=C2=A0 com-0 thread-2: finished 1 run</span><span lang=3D"=
EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-=
size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rg=
b(31,73,125)" lang=3D"EN-US">2016-04-19 09:42:18,888 INFO=C2=A0 com-0 threa=
d-3: finished 1 run</span><span lang=3D"EN-US"><u></u><u></u></span></p><p =
class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-0=
4-19 09:42:18,928 INFO=C2=A0 com-0 thread-7: finished 1 run</span><span lan=
g=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"=
font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;col=
or:rgb(31,73,125)" lang=3D"EN-US">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 style=3D"font-size:10.5pt;font-family:&quot;=
Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">2=
016-04-19 09:42:18,930 INFO=C2=A0 com-0 : elapsed time is 600270 ms</span><=
span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span s=
tyle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&q=
uot;;color:rgb(31,73,125)" lang=3D"EN-US">2016-04-19 09:42:18,930 INFO=C2=
=A0 com-0 : Final statistics for this process:</span><span lang=3D"EN-US"><=
u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.=
5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,=
125)" lang=3D"EN-US">2016-04-19 09:42:18,937 INFO=C2=A0 com-0 :</span><span=
 lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">=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 style=3D"font-size:10.5pt;font=
-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" la=
ng=3D"EN-US">=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></span></p><p class=3D"MsoNormal"><span style=3D"font=
-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:r=
gb(31,73,125)" lang=3D"EN-US">=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 class=3D"MsoNormal"><span style=3D"font-size:10.=
5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,=
125)" lang=3D"EN-US">=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)</span><span lang=3D"EN-US"><u></u><u></u><=
/span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"=
EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</spa=
n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;;color:rgb(31,73,125)" lang=3D"EN-US">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</span><span lang=3D"EN-U=
S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size=
:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31=
,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></=
span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"E=
N-US">=C2=A0 Tests resulting in error only contribute to the Errors column.=
</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"=
><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans=
-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 Statistics for ind=
ividual tests can be found in the data file, including</span><span lang=3D"=
EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-=
size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rg=
b(31,73,125)" lang=3D"EN-US">=C2=A0 (possibly incomplete) statistics for er=
roneous tests. Composite tests</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN=
-US">=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 style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u>=
</u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5p=
t;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,12=
5)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span><=
/p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=
My test script:</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</sp=
an><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><sp=
an style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-ser=
if&quot;;color:rgb(31,73,125)" lang=3D"EN-US">more test_ldap.py</span><span=
 lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US"># The sorting test supports a configu=
rable array length.</span><span lang=3D"EN-US"><u></u><u></u></span></p><p =
class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># It r=
uns 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 style=3D"font-siz=
e:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(3=
1,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u><=
/span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"=
EN-US">from net.grinder.script.Grinder import grinder</span><span lang=3D"E=
N-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-s=
ize:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb=
(31,73,125)" lang=3D"EN-US">from net.grinder.script import Test</span><span=
 lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">from datetime import datetime</span><=
span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span s=
tyle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&q=
uot;;color:rgb(31,73,125)" lang=3D"EN-US">from datetime import timedelta</s=
pan><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><s=
pan style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-se=
rif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">import os</span><span lang=
=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">import sys</span><span lang=3D"EN-US"><u><=
/u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125=
)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></=
p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;=
Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#=
#######################################</span><span lang=3D"EN-US"><u></u><=
u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" l=
ang=3D"EN-US">#</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># main bod=
y of test script starts here</span><span lang=3D"EN-US"><u></u><u></u></spa=
n></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-U=
S">#</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNor=
mal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#####################=
###################</span><span lang=3D"EN-US"><u></u><u></u></span></p><p =
class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=
</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"=
><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans=
-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># Get the propeties to ac=
cess test configuration information</span><span lang=3D"EN-US"><u></u><u></=
u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-fa=
mily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">properties =3D grinder.getProperties()</span><span lang=3D"EN-US=
"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN=
-US"># The description is a property (instead of a hardcoded string in this=
 script)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Ms=
oNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">test =3D Test(1, =
properties.get(&quot;javatest.description&quot;))</span><span lang=3D"EN-US=
"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN=
-US"># select the method for which to collect information</span><span lang=
=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">#test.record(WriteMulitpleLittleFile.write=
)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal=
"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;san=
s-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=
=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US"># initialize data for compressing</span><s=
pan lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span st=
yle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&qu=
ot;;color:rgb(31,73,125)" lang=3D"EN-US">#fileName =3D properties.get(&quot=
;javatest.fileToCompress&quot;)</span><span lang=3D"EN-US"><u></u><u></u></=
span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"E=
N-US">#<a href=3D"http://grinder.logger.info" target=3D"_blank">grinder.log=
ger.info</a>(&quot;data file to compress is &quot; + fileName)</span><span =
lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">#JavaTest.initializeCompression(fileN=
ame)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNor=
mal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span la=
ng=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D=
"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;co=
lor:rgb(31,73,125)" lang=3D"EN-US"># If the run mode is runOnce, the TestRu=
nner class will</span><span lang=3D"EN-US"><u></u><u></u></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># 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 style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US"># the TestRunner class will run the test for at lea=
st</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNorma=
l"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"># the specified duratio=
n (but possibly longer)</span><span lang=3D"EN-US"><u></u><u></u></span></p=
><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">ru=
nMode =3D properties.get(&quot;javatest.runMode&quot;)</span><span lang=3D"=
EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-=
size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rg=
b(31,73,125)" lang=3D"EN-US">#WriteMulitpleLittleFile.setParameters(dir, fi=
leSize...)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"=
MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">if runMode =3D=
=3D &quot;continuous&quot;:</span><span lang=3D"EN-US"><u></u><u></u></span=
></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US=
">=C2=A0 # figure out how long to run the test</span><span lang=3D"EN-US"><=
u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.=
5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,=
125)" lang=3D"EN-US">=C2=A0 m =3D int(properties.getProperty(&quot;javatest=
.durationMinutes&quot;, &quot;0&quot;))</span><span lang=3D"EN-US"><u></u><=
u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" l=
ang=3D"EN-US">=C2=A0 h =3D int(properties.getProperty(&quot;javatest.durati=
onHours&quot;, &quot;0&quot;))</span><span lang=3D"EN-US"><u></u><u></u></s=
pan></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN=
-US">=C2=A0 d =3D int(properties.getProperty(&quot;javatest.durationDays&qu=
ot;, &quot;0&quot;))</span><span lang=3D"EN-US"><u></u><u></u></span></p><p=
 class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=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 style=3D"f=
ont-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 <a href=3D"http://grinder.logger.in=
fo" target=3D"_blank">grinder.logger.info</a>(&quot;run mode is continuous,=
 duration is &quot; + str(duration))</span><span lang=3D"EN-US"><u></u><u><=
/u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-f=
amily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=
=3D"EN-US">elif runMode =3D=3D &quot;runOnce&quot;:</span><span lang=3D"EN-=
US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-siz=
e:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(3=
1,73,125)" lang=3D"EN-US">=C2=A0 <a href=3D"http://grinder.logger.info" tar=
get=3D"_blank">grinder.logger.info</a>(&quot;run mode is run once&quot;)</s=
pan><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><s=
pan style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-se=
rif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 duration =3D timedelt=
a(minutes=3D0)</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">else:</span=
><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span=
 style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif=
&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0 <a href=3D"http://grinde=
r.logger.info" target=3D"_blank">grinder.logger.info</a>(&quot;run mode not=
 set or not recongized, default to run once&quot;)</span><span lang=3D"EN-U=
S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size=
:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31=
,73,125)" lang=3D"EN-US">=C2=A0 duration =3D timedelta(minutes=3D0)</span><=
span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span s=
tyle=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&q=
uot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-US"=
><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:1=
0.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,7=
3,125)" lang=3D"EN-US">########################################</span><span=
 lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:rgb(31,73,125)" lang=3D"EN-US">#</span><span lang=3D"EN-US"><u></u><=
u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" l=
ang=3D"EN-US"># The TestRunner class is used by The Grinder to perform the =
test</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNor=
mal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">#</span><span lang=3D=
"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font=
-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:r=
gb(31,73,125)" lang=3D"EN-US">########################################</spa=
n><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0</span><span lang=3D"EN-=
US"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-siz=
e:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(3=
1,73,125)" lang=3D"EN-US">class TestRunner:</span><span lang=3D"EN-US"><u><=
/u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125=
)" lang=3D"EN-US">=C2=A0 def __call__(self):</span><span lang=3D"EN-US"><u>=
</u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5p=
t;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,12=
5)" lang=3D"EN-US">=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 style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans=
-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0 notDon=
e =3D True</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"=
MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=
=A0 while notDone:</span><span lang=3D"EN-US"><u></u><u></u></span></p><p c=
lass=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibr=
i&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 os.environ[&#39;ORACLE_HOME&#39;] =3D &quot;/u03/M=
iddleware/Oracle_IDM&quot;</span><span lang=3D"EN-US"><u></u><u></u></span>=
</p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US"=
>=C2=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p><p class=3D"Mso=
Normal"><span style=3D"font-size:10.5pt;font-family:&quot;Calibri&quot;,&qu=
ot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 from commands import getoutput</span><span lang=3D"EN-US"><u><=
/u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125=
)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 result =3D getoutput( &#39=
;/u03/Middleware/Oracle_IDM/bin/ldapsearch -a always -D cn=3Dorcladmin -w w=
elcome1 -p 3060 -b &quot;&quot; -s sub &quot;objectclass=3D*&quot; orcldire=
ctoryversion ou=3DGroups Privilege, cn=3DOperatio</span><span lang=3D"EN-US=
"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,=
73,125)" lang=3D"EN-US">nURLs,cn=3DDAS,cn=3DProducts,cn=3DOracleContext,dc=
=3Dcn,dc=3Doracle,dc=3Dcom&#39;)</span><span lang=3D"EN-US"><u></u><u></u><=
/span></p><p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"=
EN-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 print result</span><span lang=3D"EN-U=
S"><u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size=
:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31=
,73,125)" lang=3D"EN-US">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 notDone =3D datetim=
e.now() &lt; endTime</span><span lang=3D"EN-US"><u></u><u></u></span></p><p=
 class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang=3D"EN-US">=C2=
=A0</span><span lang=3D"EN-US"><u></u><u></u></span></p></div></div></div><=
/div></div></div></div></div></div></div></div></div></div></div><p class=
=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-US"><br>------=
------------------------------------------------------------------------<br=
>Find and fix application performance issues faster with Applications Manag=
er<br>Applications Manager provides deep performance insights into multiple=
 tiers of<br>your business applications. It resolves application problems q=
uickly and<br>reduces your MTTR. Get your free trial!<br><a href=3D"https:/=
/ad.doubleclick.net/ddm/clk/302982198;130105516;z" target=3D"_blank">https:=
//ad.doubleclick.net/ddm/clk/302982198;130105516;z</a><br>_________________=
______________________________<br>grinder-use mailing list<br><a href=3D"ma=
ilto:[email protected]" target=3D"_blank">grinder-use@lists=
.sourceforge.net</a><br><a href=3D"https://lists.sourceforge.net/lists/list=
info/grinder-use" target=3D"_blank">https://lists.sourceforge.net/lists/lis=
tinfo/grinder-use</a><u></u><u></u></span></p></div><p class=3D"MsoNormal">=
<span lang=3D"EN-US">=C2=A0<u></u><u></u></span></p></div></div></div></div=
></div></div></div></div></div></div></div><p class=3D"MsoNormal" style=3D"=
margin-bottom:12pt"><span lang=3D"EN-US"><br>------------------------------=
------------------------------------------------<br>Find and fix applicatio=
n performance issues faster with Applications Manager<br>Applications Manag=
er provides deep performance insights into multiple tiers of<br>your busine=
ss applications. It resolves application problems quickly and<br>reduces yo=
ur MTTR. Get your free trial!<br><a href=3D"https://ad.doubleclick.net/ddm/=
clk/302982198;130105516;z" 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]=
ourceforge.net" target=3D"_blank">[email protected]</a><br>=
<a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><u>=
</u><u></u></span></p></div></div></div><p class=3D"MsoNormal" style=3D"mar=
gin-bottom:12pt"><span lang=3D"EN-US"><br>---------------------------------=
---------------------------------------------<br>Find and fix application p=
erformance issues faster with Applications Manager<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" target=3D"_blank">https://ad.doubleclick.net/ddm/cl=
k/302982198;130105516;z</a><br>____________________________________________=
___<br>grinder-use mailing list<br><a href=3D"mailto:[email protected]=
ceforge.net" target=3D"_blank">[email protected]</a><br><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" target=3D=
"_blank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><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><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><br></div></div></div></div></div>

--94eb2c03574e22b2fe0530fd7f43--


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

--===============9072008354036324793==--