Running a series of test scripts
"Killgriff David, Slough" <[email protected]> Fri, 20 Feb 2004 12:31:09 -0000
| Newsgroups | gmane.comp.java.grinder.announce |
|---|---|
| Message-ID | <6F31394D002AD611BB520002A5417D28010B721B@prod-slo-exh01.aniteps.com> |
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C3F7AD.6B342C10
Content-Type: text/plain
Hi,
I'm currently using Grinder 3.0-beta 18 to test the system I currently
working on.
I would like to know if it is possible get Grinder to run through a list of
test scripts I have defined in the 'grinder'properties file.
The scripts themselves have already been created using the recording method
in Grinder and so I'm just interested in running them.
The list looks something like the following:
#Create new Case.
#
grinder.script=create_new_case.py
#Case search
#
grinder.script=case_search.py
#Case search, view and edit details.
#
grinder.script=case_search_view_edit_details.py
# END OF LIST
If it is possible, how do I achieve this ?
If the answer is to write a script in the Jython language, then please could
you show me the code to achieve this.
Hope someone can help me.
Many thanks,
Dave.
Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.
------_=_NextPart_001_01C3F7AD.6B342C10
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<html=20xmlns:o=3D"urn:schemas-microsoft-com:office:office"=20xmlns:w=3D"u=
rn:schemas-microsoft-com:office:word"=20xmlns=3D"http://www.w3.org/TR/REC-=
html40">
<head>
<META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus=
-ascii">
<meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20=
medium)">
<style>
<!--
=20/*=20Style=20Definitions=20*/
=20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal
=09{margin:0cm;
=09margin-bottom:.0001pt;
=09font-size:12.0pt;
=09font-family:"Times=20New=20Roman";}
a:link,=20span.MsoHyperlink
=09{color:blue;
=09text-decoration:underline;}
a:visited,=20span.MsoHyperlinkFollowed
=09{color:purple;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:Arial;
=09color:windowtext;}
@page=20Section1
=09{size:612.0pt=20792.0pt;
=09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;}
div.Section1
=09{page:Section1;}
-->
</style>
</head>
<body=20lang=3DEN-US=20link=3Dblue=20vlink=3Dpurple>
<div=20class=3DSection1>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>I’m=20currently=20using=20Grinder=203.0-be=
ta=2018=20to=20test
the=20system=20I=20currently=20working=20on.<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>I=20would=20like=20to=20know=20if=20it=20is=20po=
ssible=20get=20Grinder=20to
run=20through=20a=20list=20of=20test=20scripts=20I=20have=20defined=20in=20=
the=20‘grinder’properties
file. =20<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>The=20scripts=20themselves=20have=20already=20be=
en=20created
using=20the=20recording=20method=20in=20Grinder=20and=20so=20I’m=20j=
ust=20interested=20in
running=20them.<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>The=20list=20looks=20something=20like=20the=20fo=
llowing:<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#Create=20new=20Case.<o:p></o:p></span></font></=
p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>grinder.script=3Dcreate_new_case.py<o:p></o:p></=
span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#Case=20search<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>grinder.script=3Dcase_search.py<o:p></o:p></span=
></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#Case=20search,=20view=20and=20edit=20details.<o=
:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>grinder.script=3Dcase_search_view_edit_details.p=
y<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>#=20END=20OF=20LIST<o:p></o:p></span></font></p>=
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>If=20it=20is=20possible,=20how=20do=20I=20achiev=
e=20this=20?<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>If=20the=20answer=20is=20to=20write=20a=20script=
=20in=20the=20Jython
language,=20then=20please=20could=20you=20show=20me=20the=20code=20to=20ac=
hieve=20this.<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>Hope=20someone=20can=20help=20me.<o:p></o:p></sp=
an></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>Many=20thanks,<o:p></o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20lang=3DEN-G=
B=20style=3D'font-size:
10.0pt;font-family:Arial'>Dave.<o:p></o:p></span></font></p>
</div>
<BR>
<BR>
Scanned=20for=20viruses=20by=20MessageLabs.=20The=20integrity=20and=20secu=
rity=20of=20this=20message=20cannot=20be=20guaranteed.=20This=20email=20is=
=20intended=20for=20the=20named=20recipient=20only,=20and=20may=20contain=20=
confidential=20information=20and=20proprietary=20material.=20Any=20unautho=
rised=20use=20or=20disclosure=20is=20prohibited.<BR>
</body>
</html>
------_=_NextPart_001_01C3F7AD.6B342C10--
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click