Re: "Could not find or load mail class" error while accessing grinder console

Priyanka Tiwari <[email protected]> Thu, 16 Feb 2017 14:56:31 +0100
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAANFYMC8B=vbM4Dd_jCovC=Eg33USbgw7C=Z+JUVQZvbxu-M6A@mail.gmail.com>
--===============5412925757284171480==
Content-Type: multipart/alternative; boundary=f403045f3e3649a2300548a62b2f

--f403045f3e3649a2300548a62b2f
Content-Type: text/plain; charset=UTF-8

Hi Sean,

Thanks for the answer ,It worked.

I am currently testing aJAVA RMI application which is basically a product
by external company. Due to this I can not access the code of the
application both for client and server side. We just have the client side
.BAT file which helps in invoking the application front end.

Could you please suggest if Grinder can help such situation. Is recording
of such application possible.

Thanks
Priyanka

On Thu, Feb 16, 2017 at 2:36 PM, Sean Tiley <[email protected]> wrote:

> Hi there,
> I believe the command you need to use to start the console is
>
> java net.grinder.Console  - (not net.console.grinder)
>
> Give that a try.
> Sean
>
> On Thu, Feb 16, 2017 at 8:21 AM, Priyanka Tiwari <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am getting error message "Could not find or load mail class" while
>> accessing the grinder console by below command :
>>
>> java -cp "C:\Grinder\lib\grinder.jar" net.console.grinder
>>
>> Content of startGrinderAgent:
>> set GRINDERPATH=C:\Grinder
>> set GRINDERPROPERTIES=C:\Grinder\grinder.properties
>> set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH%
>> PATH=%JAVA_HOME%\bin;%PATH%
>>
>> Content of setGrinderEnv
>> set GRINDERPATH=C:\Grinder
>> set GRINDERPROPERTIES=C:\Grinder\grinder.properties
>> set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH%
>> PATH=%JAVA_HOME%\bin;%PATH%
>>
>> Content of grinderconsole.cmv
>> call C:\Grinder\setGrinderEnv.cmd
>> java -cp "%CLASSPATH%" net.grinder.Console
>>
>> Content of grinderagent.cmv
>> call C:\Grinder\setGrinderEnv.cmd
>> echo %CLASSPATH%
>> java -cp "%CLASSPATH%" net.grinder.Grinder %GRINDERPROPERTIES%
>>
>> Could you please help.
>>
>> Thanks
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> grinder-use mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>
>>
>
>
> --
> Sean Tiley
> [email protected]
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> grinder-use mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>

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

<div dir=3D"ltr">Hi Sean,<div><br></div><div>Thanks for the answer ,It work=
ed.</div><div><br></div><div>I am currently testing aJAVA RMI application w=
hich is basically a product by external company. Due to this I can not acce=
ss the code of the application both for client and server side. We just hav=
e the client side .BAT file which helps in invoking the application front e=
nd.</div><div><br></div><div>Could you please suggest if Grinder can help s=
uch situation. Is recording of such application possible.</div><div><br></d=
iv><div>Thanks</div><div>Priyanka</div></div><div class=3D"gmail_extra"><br=
><div class=3D"gmail_quote">On Thu, Feb 16, 2017 at 2:36 PM, Sean Tiley <sp=
an 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><div dir=3D"ltr">Hi there,<div>I believe the command you need to use to=
 start the console is</div><div><br></div><div><span style=3D"font-size:12.=
8px">java net.grinder.Console =C2=A0- (not </span><span style=3D"font-size:=
12.8px">net.console.grinder)</span><br></div><div><span style=3D"font-size:=
12.8px"><br></span></div><div><span style=3D"font-size:12.8px">Give that a =
try.</span></div><div><span style=3D"font-size:12.8px">Sean</span></div></d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><div><div clas=
s=3D"h5">On Thu, Feb 16, 2017 at 8:21 AM, Priyanka Tiwari <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">priya99ti=
[email protected]</a>&gt;</span> wrote:<br></div></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><div><div class=3D"h5"><div dir=3D"ltr"><p style=3D"font-size:12.8p=
x">Hi,</p><p style=3D"font-size:12.8px">I am getting error message &quot;Co=
uld not find or load mail class&quot; while accessing the grinder console b=
y below command :</p><p style=3D"font-size:12.8px">java -cp &quot;C:\Grinde=
r\lib\grinder.jar&quot; net.console.grinder</p><p style=3D"font-size:12.8px=
">Content of startGrinderAgent:<br>set GRINDERPATH=3DC:\Grinder<br>set GRIN=
DERPROPERTIES=3DC:\Grinder\g<wbr>rinder.properties<br>set CLASSPATH=3D%GRIN=
DERPATH%\lib\gr<wbr>inder.jar;%CLASSPATH%<br>PATH=3D%JAVA_HOME%\bin;%PATH%<=
/p><p style=3D"font-size:12.8px">Content of setGrinderEnv<br>set GRINDERPAT=
H=3DC:\Grinder<br>set GRINDERPROPERTIES=3DC:\Grinder\g<wbr>rinder.propertie=
s<br>set CLASSPATH=3D%GRINDERPATH%\lib\gr<wbr>inder.jar;%CLASSPATH%<br>PATH=
=3D%JAVA_HOME%\bin;%PATH%</p><p style=3D"font-size:12.8px">Content of grind=
erconsole.cmv<br>call C:\Grinder\setGrinderEnv.cmd<br>java -cp &quot;%CLASS=
PATH%&quot; net.grinder.Console</p><p style=3D"font-size:12.8px">Content of=
 grinderagent.cmv<br>call C:\Grinder\setGrinderEnv.cmd<br>echo %CLASSPATH%<=
br>java -cp &quot;%CLASSPATH%&quot; net.grinder.Grinder %GRINDERPROPERTIES%=
</p><p style=3D"font-size:12.8px">Could you please help.</p><p style=3D"fon=
t-size:12.8px">Thanks</p></div>
<br></div></div>------------------------------<wbr>------------------------=
------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, SlashDot.org! <a href=3D"http://sdm.link/slashdot" rel=
=3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________=
_____________________<wbr>_________________<br>
grinder-use mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">grin=
[email protected]<wbr>net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists/lis=
tinfo/grinder-use</a><br>
<br></blockquote></div><span class=3D"HOEnZb"><font color=3D"#888888"><br><=
br clear=3D"all"><div><br></div>-- <br><div class=3D"m_-7659581636521097641=
gmail_signature" data-smartmail=3D"gmail_signature">Sean Tiley<br><a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
</div>
</font></span></div>
<br>------------------------------<wbr>------------------------------<wbr>-=
-----------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, SlashDot.org! <a href=3D"http://sdm.link/slashdot" rel=
=3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________=
_____________________<wbr>_________________<br>
grinder-use mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
ceforge.<wbr>net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists/lis=
tinfo/grinder-use</a><br>
<br></blockquote></div><br></div>

--f403045f3e3649a2300548a62b2f--


--===============5412925757284171480==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============5412925757284171480==
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

--===============5412925757284171480==--