Jython error- Please help
<[email protected]> Wed, 17 Oct 2012 18:45:34 +0000
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <C62373B26F83EA4F9606110ACA792D421DA78DD3@tuswpmb04.unisource.corp> |
--===============4267814948717835663==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_C62373B26F83EA4F9606110ACA792D421DA78DD3tuswpmb04unisou_"
--_000_C62373B26F83EA4F9606110ACA792D421DA78DD3tuswpmb04unisou_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Can you please help me with this? What does this error mean?
I am getting this error in my error log:
Aborted run due to Jython exception: AttributeError: 'NoneType' object has =
no attribute 'group' [calling TestRunner]
This is from my output log:
10/17/12 11:08:25 AM (thread 4 run 0 test 2101): http://ccbdev1:6490/spl/se=
arch?service=3DCILCAIDS&ACCT_ID=3D0002901397&ALL_PREM_SW=3Dtrue&SEARCH_TYPE=
=3DMN -> 200 OK, 86 bytes
10/17/12 11:08:25 AM (thread 3 run 0 test 2101): http://ccbdev1:6490/spl/se=
arch?service=3DCILCAIDS&ACCT_ID=3D0002901397&ALL_PREM_SW=3Dtrue&SEARCH_TYPE=
=3DMN -> 200 OK, 86 bytes
10/17/12 11:08:25 AM (thread 0 run 0 test 2101): http://ccbdev1:6490/spl/se=
arch?service=3DCILCAIDS&ACCT_ID=3D0002901397&ALL_PREM_SW=3Dtrue&SEARCH_TYPE=
=3DMN -> 200 OK, 86 bytes
10/17/12 11:08:25 AM (thread 4 run 0 test 2101): page21 CDx_response var cd=
xResponse =3D {resultCode: '', searchList: {header: {moreRows: false},list:=
[]
}};
10/17/12 11:08:25 AM (thread 0 run 0 test 2101): page21 CDx_response var cd=
xResponse =3D {resultCode: '', searchList: {header: {moreRows: false},list:=
[]
}};
10/17/12 11:08:25 AM (thread 3 run 0 test 2101): page21 CDx_response var cd=
xResponse =3D {resultCode: '', searchList: {header: {moreRows: false},list:=
[]
}};
10/17/12 11:08:25 AM (thread 2 run 0 test 2101): http://ccbdev1:6490/spl/se=
arch?service=3DCILCAIDS&ACCT_ID=3D0002901397&ALL_PREM_SW=3Dtrue&SEARCH_TYPE=
=3DMN -> 200 OK, 86 bytes
10/17/12 11:08:25 AM (thread 2 run 0 test 2101): page21 CDx_response var cd=
xResponse =3D {resultCode: '', searchList: {header: {moreRows: false},list:=
[]
}};
10/17/12 11:08:25 AM (thread 4 run 0 test 2101): ERROR ("Aborted run due to=
J..."), see error log for details
10/17/12 11:08:25 AM (thread 3 run 0 test 2101): ERROR ("Aborted run due to=
J..."), see error log for details
10/17/12 11:08:25 AM (thread 2 run 0 test 2101): ERROR ("Aborted run due to=
J..."), see error log for details
10/17/12 11:08:25 AM (thread 0 run 0 test 2101): ERROR ("Aborted run due to=
J..."), see error log for details
10/17/12 11:08:25 AM (thread 1 run 0 test 2101): http://ccbdev1:6490/spl/se=
arch?service=3DCILCAIDS&ACCT_ID=3D0002901397&ALL_PREM_SW=3Dtrue&SEARCH_TYPE=
=3DMN -> 200 OK, 86 bytes
10/17/12 11:08:25 AM (thread 1 run 0 test 2101): page21 CDx_response var cd=
xResponse =3D {resultCode: '', searchList: {header: {moreRows: false},list:=
[]
}};
10/17/12 11:08:25 AM (thread 1 run 0 test 2101): ERROR ("Aborted run due to=
J..."), see error log for details
And this is my method in the script:
def page21(self):
"""POST search (request 2101)."""
self.token_service =3D \
'CILCAIDS'
self.token_ACCT_ID =3D \
Parm_Acct_Id ------------------------------------------> Paramet=
er for passing account number from a file
self.token_ALL_PREM_SW =3D \
'true'
self.token_SEARCH_TYPE =3D \
'MN'
result =3D request2101.POST('/spl/search' +
'?service=3D' +
self.token_service +
'&ACCT_ID=3D' +
self.token_ACCT_ID +
'&ALL_PREM_SW=3D' +
self.token_ALL_PREM_SW +
'&SEARCH_TYPE=3D' +
self.token_SEARCH_TYPE,
( NVPair('userProfileXML', '''<?xml version=3D\"1.0\" encoding=3D\"UT=
F-8\"?>
<profile><homePage>CI0000001399</homePage><numberFormat>-1.1</numberFormat>=
<numberGroupSeparator>,</numberGroupSeparator><moneyFormat>-1.1</moneyForma=
t><moneyDecimalDigits>2</moneyDecimalDigits><timeFormat>hh:mma</timeFormat>=
<decimalSeparator>.</decimalSeparator><currencyCode>USD</currencyCode><date=
DisplayFormat>MM-dd-yyyy</dateDisplayFormat><dashboardWidth>200</dashboardW=
idth><showAllPremises>Y</showAllPremises></profile>'''), ),
( NVPair('Content-Type', 'application/x-www-form-urlencoded; charset=
=3DUTF-8'), ))
var_CDx_response =3D result.getText()
log("page21 CDx_response %s " % var_CDx_response)
--_000_C62373B26F83EA4F9606110ACA792D421DA78DD3tuswpmb04unisou_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Can you please help me with this? What does th=
is error mean?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I am getting this error in my error log:<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Aborted run due to Jython exception: AttributeError:=
'NoneType' object has no attribute 'group' [calling TestRunner]<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">This is from my output log:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 4 run 0 test 2101): htt=
p://ccbdev1:6490/spl/search?service=3DCILCAIDS&ACCT_ID=3D0002901397&=
;ALL_PREM_SW=3Dtrue&SEARCH_TYPE=3DMN -> 200 OK, 86 bytes<o:p></o:p><=
/p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 3 run 0 test 2101): htt=
p://ccbdev1:6490/spl/search?service=3DCILCAIDS&ACCT_ID=3D0002901397&=
;ALL_PREM_SW=3Dtrue&SEARCH_TYPE=3DMN -> 200 OK, 86 bytes<o:p></o:p><=
/p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 0 run 0 test 2101): htt=
p://ccbdev1:6490/spl/search?service=3DCILCAIDS&ACCT_ID=3D0002901397&=
;ALL_PREM_SW=3Dtrue&SEARCH_TYPE=3DMN -> 200 OK, 86 bytes<o:p></o:p><=
/p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 4 run 0 test 2101): pag=
e21 CDx_response var cdxResponse =3D {resultCode: '', searchList: {header: =
{moreRows: false},list: []<o:p></o:p></p>
<p class=3D"MsoNormal">}}; <o:p></o:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 0 run 0 test 2101): pag=
e21 CDx_response var cdxResponse =3D {resultCode: '', searchList: {header: =
{moreRows: false},list: []<o:p></o:p></p>
<p class=3D"MsoNormal">}}; <o:p></o:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 3 run 0 test 2101): pag=
e21 CDx_response var cdxResponse =3D {resultCode: '', searchList: {header: =
{moreRows: false},list: []<o:p></o:p></p>
<p class=3D"MsoNormal">}}; <o:p></o:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 2 run 0 test 2101): htt=
p://ccbdev1:6490/spl/search?service=3DCILCAIDS&ACCT_ID=3D0002901397&=
;ALL_PREM_SW=3Dtrue&SEARCH_TYPE=3DMN -> 200 OK, 86 bytes<o:p></o:p><=
/p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 2 run 0 test 2101): pag=
e21 CDx_response var cdxResponse =3D {resultCode: '', searchList: {header: =
{moreRows: false},list: []<o:p></o:p></p>
<p class=3D"MsoNormal">}}; <o:p></o:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 4 run 0 test 2101): ERR=
OR ("Aborted run due to J..."), see error log for details<o:p></o=
:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 3 run 0 test 2101): ERR=
OR ("Aborted run due to J..."), see error log for details<o:p></o=
:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 2 run 0 test 2101): ERR=
OR ("Aborted run due to J..."), see error log for details<o:p></o=
:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 0 run 0 test 2101): ERR=
OR ("Aborted run due to J..."), see error log for details<o:p></o=
:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 1 run 0 test 2101): htt=
p://ccbdev1:6490/spl/search?service=3DCILCAIDS&ACCT_ID=3D0002901397&=
;ALL_PREM_SW=3Dtrue&SEARCH_TYPE=3DMN -> 200 OK, 86 bytes<o:p></o:p><=
/p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 1 run 0 test 2101): pag=
e21 CDx_response var cdxResponse =3D {resultCode: '', searchList: {header: =
{moreRows: false},list: []<o:p></o:p></p>
<p class=3D"MsoNormal">}}; <o:p></o:p></p>
<p class=3D"MsoNormal">10/17/12 11:08:25 AM (thread 1 run 0 test 2101): ERR=
OR ("Aborted run due to J..."), see error log for details<o:p></o=
:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">And this is my method in the script:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">def page21(self):<o:p></o:p></p>
<p class=3D"MsoNormal"> """POST search (re=
quest 2101)."""<o:p></o:p></p>
<p class=3D"MsoNormal"> self.token_service =3D \<o:p></o:=
p></p>
<p class=3D"MsoNormal"> 'CILCAIDS'<o:p></o:p>=
</p>
<p class=3D"MsoNormal"> self.token_ACCT_ID =3D \<o:p></o:=
p></p>
<p class=3D"MsoNormal"> <span style=3D"background:y=
ellow;mso-highlight:yellow">Parm_Acct_Id</span> &nbs=
p; ----------------------------------------<span style=3D"font-family:Wingd=
ings">=E0</span> Parameter for passing account number from a fi=
le<o:p></o:p></p>
<p class=3D"MsoNormal"> self.token_ALL_PREM_SW =3D \<o:p>=
</o:p></p>
<p class=3D"MsoNormal"> 'true'<o:p></o:p></p>
<p class=3D"MsoNormal"> self.token_SEARCH_TYPE =3D \<o:p>=
</o:p></p>
<p class=3D"MsoNormal"> 'MN'<o:p></o:p></p>
<p class=3D"MsoNormal"> result =3D request2101.POST('/spl=
/search' +<o:p></o:p></p>
<p class=3D"MsoNormal"> '?service=3D' +<o=
:p></o:p></p>
<p class=3D"MsoNormal"> self.token_service &#=
43;<o:p></o:p></p>
<p class=3D"MsoNormal"> '&ACCT_ID=3D' =
3;<o:p></o:p></p>
<p class=3D"MsoNormal"> self.token_ACCT_ID &#=
43;<o:p></o:p></p>
<p class=3D"MsoNormal"> '&ALL_PREM_SW=3D'=
+<o:p></o:p></p>
<p class=3D"MsoNormal"> self.token_ALL_PREM_S=
W +<o:p></o:p></p>
<p class=3D"MsoNormal"> '&SEARCH_TYPE=3D'=
+<o:p></o:p></p>
<p class=3D"MsoNormal"> self.token_SEARCH_TYP=
E,<o:p></o:p></p>
<p class=3D"MsoNormal"> ( NVPair('userProfile=
XML', '''<?xml version=3D\"1.0\" encoding=3D\"UTF-8\"=
;?><o:p></o:p></p>
<p class=3D"MsoNormal"><profile><homePage>CI0000001399</home=
Page><numberFormat>-1.1</numberFormat><numberGroupSeparat=
or>,</numberGroupSeparator><moneyFormat>-1.1</moneyFormat=
><moneyDecimalDigits>2</moneyDecimalDigits><timeFormat>=
;hh:mma</timeFormat><decimalSeparator>.</decimalSeparator>=
;<currencyCode>USD</currencyCode><dateDisplayFormat>MM-dd=
-yyyy</dateDisplayFormat><dashboardWidth>200</dashboardWidth=
><showAllPremises>Y</showAllPremises></profile>'''),
),<o:p></o:p></p>
<p class=3D"MsoNormal"> ( NVPair('Content-Typ=
e', 'application/x-www-form-urlencoded; charset=3DUTF-8'), ))<o:p></o:p></p=
>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; <o:p></o:p></p>
<p class=3D"MsoNormal"> var_CDx_response =3D result.=
getText()<o:p></o:p></p>
<p class=3D"MsoNormal"> log("page21 CDx_response %s =
" % var_CDx_response)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-family:"Times New Rom=
an","serif";color:#4F81BD"><o:p> </o:p></span></i></b><=
/p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_C62373B26F83EA4F9606110ACA792D421DA78DD3tuswpmb04unisou_--
--===============4267814948717835663==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
--===============4267814948717835663==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development
--===============4267814948717835663==--